[Bug 8001] New: busybox ash: PS1 w display is not correct in prompt

bugzilla at busybox.net bugzilla at busybox.net
Fri Apr 3 11:37:45 UTC 2015


https://bugs.busybox.net/show_bug.cgi?id=8001

           Summary: busybox ash: PS1 w display is not correct in prompt
           Product: Busybox
           Version: 1.20.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: ysan99 at gmail.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


Please see below the behaviour difference compare to BASH.

BASH:
root at ppc99:~# ll /var/test
lrwxrwxrwx    1 root     root            10 Apr  1 13:35 /var/test ->
/hdd1/test
root at ppc99:~# echo $PS1
\u@\h:\w\$
root at ppc99:~# cd /var/test
root at ppc99:/var/test# pwd
/var/test
root at ppc99:/var/test#

Busybox ASH:
root at ppc99:~# ll /var/test
lrwxrwxrwx    1 root     root            10 Apr  1 13:35 /var/test ->
/hdd1/test
root at ppc99:~# echo $PS1
\u@\h:\w\$
root at ppc99:~# cd /var/test/
root at ppc99:/hdd1/test# pwd
/var/test
root at ppc99:/hdd1/test#

pwd is ok, but the command  prompt is not as expected.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list