On 11/24/13 11:04 PM, Ryan Campbell Cunningham wrote:

> Bash Version: 4.2
> Patch Level: 45
> Release Status: release
> 
> Description:
>     I would like to request that Bash delete the character
>     immediately preceding a '#', provided the '#'
> 
>        * does not begin a new word,
>        * is not included in any quoted string or variable,
>        * is not preceded by a '\', and
>        * is only found in an interactive command line (not
>          in a script* or Bash initialization argument).

This is traditionally a characteristic of the terminal driver rather
than the shell.  It emulates the behavior of the old 7th Edition and
BSD (through 4.3) terminal driver default erase character.  While
interesting in a historical sense, I don't believe it has much value
in modern environments.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to