[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Feature request: Escaping special characters in 'select' list
From: |
Bernd Eggink |
Subject: |
Feature request: Escaping special characters in 'select' list |
Date: |
Wed, 27 Jun 2007 15:22:43 +0200 |
User-agent: |
Thunderbird 2.0.0.4 (X11/20070604) |
It would be nice if special characters in a 'select' list could be escaped
by \[ and \], like in a prompt string. Presently, if a word in the list
contains special characters (e.g., '^[[42m;aha^[[0m;'), the formatting of
the list gets messed up.
COLUMNS=50
select a in "^[[42maha^[[0m" one two three; do : ; done
1) aha 3) two
2) one 4) three
#?
(On a terminal, the first word has a green background).
Regards,
Bernd
--
Bernd Eggink
monoped@sudrala.de
http://monoped.de
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Feature request: Escaping special characters in 'select' list,
Bernd Eggink <=