On 3/12/17 4:46 PM, Grisha Levit wrote:
> For example:
> 
> $ PS1='\w $(echo \w) $ '
> ~ /home/levit $

Backslash-escape evaluation happens before parameter expansion, as
documented.


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

Reply via email to