[Bug 209873] error in sh(1) manpage description of PS1 formatting sequences
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon May 30 22:00:52 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209873
Warren Block <wblock at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wblock at FreeBSD.org
--- Comment #1 from Warren Block <wblock at FreeBSD.org> ---
When tested here on 10-stable, sh(1) works as shown currently, with \W being
the final component of the CWD, and \w being the entire CWD:
% sh
$ pwd
/home/wblock
$ PS1="\W $"
wblock $ PS1="\w $"
/home/wblock $
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-doc
mailing list