rmg@AMES.ARC.NASA.GOV (11/19/89)
With bash 1.04, Sparcstation 1, SunOS 4.0.3: Stumbled across this, perhaps it's a bug: When expand_string() is called in decode_prompt_string (file parse.y), if the sting to be expanded ends in "\", then the expanded string seems to get some extra stuff appended to it. for example: Script started on Sat Nov 18 18:55:14 1989 bash$ PS1="\\" \UUUU <- just press return here a few times \UUUU,UUUU \UUUULUUUU \UUUUlUUUUUUUUUUUUT \UUUUlUUUUUUUU \UUUUNO_PROMPT_VARS=1 <- no with NO_PROMPT_VARS \ \PS1='bash$ ' bash$ exit script done on Sat Nov 18 18:56:25 1989 This really isn't earth shattering - I use NO_PROMPT_VARS anyway, but it might bite somewhere else. Thanks, rmg@ultra.com
chet@cwns1.CWRU.EDU (Chet Ramey) (12/04/89)
In article <8911190259.AA13187@ultra.com> ultra!rmg@AMES.ARC.NASA.GOV writes: >bash$ PS1="\\" >\UUUU <- just press return here a few times I have sent a fix for this to Brian. Chet Ramey -- Chet Ramey Network Services Group "Where's my froggie?" Case Western Reserve University chet@ins.CWRU.Edu