bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PS1 prompt problem


From: Chet Ramey
Subject: Re: PS1 prompt problem
Date: Fri, 16 Oct 2009 21:55:15 -0400
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)

Nils wrote:
> 
> Yes, that was the problem, I did not take into account that bash
> expands $PS1 twice.

No, it doesn't.  It performs additional expansions besides those
specified by Posix.

> Is this double expansion even POSIX compliant? 

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]