Subject: Re: CVS commit: src/bin/ls
To: None <source-changes@NetBSD.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: source-changes
Date: 04/08/2006 12:47:16
--LTeJQqWS0MN7I/qa
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Alan Barrett <apb@cequrux.com> wrote:
> On Sat, 08 Apr 2006, YAMAMOTO Takashi wrote:
> > Modified Files:
> > src/bin/ls: ls.1
> >=20
> > Log Message:
> > s/non-graphic/non-printable/ to match with the code.
>=20
> 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
--=20
"The last time anybody made a list of the top hundred character
attributes of New Yorkers, common sense snuck in at number 79."
--LTeJQqWS0MN7I/qa
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)
iD8DBQFEN+kUfFtkr68iakwRAtDBAKDGXUfFYKIhvwngkYvaCzSRA58MPACdFNVL
fCMxKMVS+BtQpPEiPb673Rw=
=STUN
-----END PGP SIGNATURE-----
--LTeJQqWS0MN7I/qa--