Alan Barrett <apb%cequrux.com@localhost> wrote: > On Sat, 08 Apr 2006, YAMAMOTO Takashi wrote: > > Modified Files: > > src/bin/ls: ls.1 > > > > Log Message: > > s/non-graphic/non-printable/ to match with the code. > > I'd prefer to fix the code, as requested in PR 30374. Which solution, though? I think option 3 is the best one: "Modify the man page to match the behaviour of "ls -q", and 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." Running 'ls -b "foo bar"' yields: On Lunix: foo\ bar On IRIX: foo\0x4bar On Solaris: foo bar On NetBSD: foo bar -Jan -- "The last time anybody made a list of the top hundred character attributes of New Yorkers, common sense snuck in at number 79."
Attachment:
pgpn5xZWBTYoC.pgp
Description: PGP signature