Subject: CVS commit: src/bin/ls
To: None <source-changes@NetBSD.org>
From: Jan Schaumann <jschauma@netbsd.org>
List: source-changes
Date: 04/08/2006 22:28:06
Module Name:	src
Committed By:	jschauma
Date:		Sat Apr  8 22:28:06 UTC 2006

Modified Files:
	src/bin/ls: ls.1 util.c

Log Message:
Address PR 30374 as suggested in there:

"Modify the man page to match the behaviour of "ls -q",

(done by yamt@ previously)

...
modify both the behaviour and documentation for "ls -b" and "ls -B" to
make spaces readily apparent.  This could be done by adding VIS_WHITE
to the flags passed to strvis(3) in the safe_print() function in
src/bin/ls/util.c."

'ls -b' now yields foo\sbar (whitespace) foo\tbar (tab) foo\rbar (CR).
'ls -B' now yields foo\040bar foo\011bar foo\015bar.


To generate a diff of this commit:
cvs rdiff -r1.58 -r1.59 src/bin/ls/ls.1
cvs rdiff -r1.28 -r1.29 src/bin/ls/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.