Subject: PR/30374 CVS commit: src/bin/ls
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, apb@cequrux.com>
From: Jan Schaumann <jschauma@netbsd.org>
List: netbsd-bugs
Date: 04/08/2006 22:30:05
The following reply was made to PR bin/30374; it has been noted by GNATS.

From: Jan Schaumann <jschauma@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/30374 CVS commit: src/bin/ls
Date: Sat,  8 Apr 2006 22:28:06 +0000 (UTC)

 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.