Date: Wed, 28 Nov 2001 13:40:08 +0200 From: Peter Pentchev <roam@ringlet.net> To: Giorgos Keramidas <charon@labs.gr> Cc: doc@freebsd.org Subject: Re: minor ls.1 clarification Message-ID: <20011128134008.B687@straylight.oblivion.bg> In-Reply-To: <20011128035451.GA25056@hades.hell.gr>; from charon@labs.gr on Wed, Nov 28, 2001 at 05:54:52AM %2B0200 References: <20011128035451.GA25056@hades.hell.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 28, 2001 at 05:54:52AM +0200, Giorgos Keramidas wrote: > The ls(1) manpage says at one point: > > -B Force printing of non-graphic characters in file names as \xxx, > where xxx is the numeric value of the character in octal. > > Perhaps it's me being in `lame user mode', but the manpage has no > hints as to what a `graphic' character would be. How about the > following minor clarification (partly inspired by green@FreeBSD.org): [snip] > > Some way to refer to ctype(3) would be nice too, so if you have a > better idea on how to word this, I'm open to suggestions :) How about the following? One might as well s/ctype/isgraph/, but I also think ctype(3) is better. G'luck, Peter -- What would this sentence be like if pi were 3? Index: src/bin/ls/ls.1 =================================================================== RCS file: /home/ncvs/src/bin/ls/ls.1,v retrieving revision 1.55 diff -u -r1.55 ls.1 --- src/bin/ls/ls.1 26 Nov 2001 22:21:10 -0000 1.55 +++ src/bin/ls/ls.1 28 Nov 2001 11:36:55 -0000 @@ -77,7 +77,9 @@ .Ql .. . Always set for the super-user. .It Fl B -Force printing of non-graphic characters in file names as \\xxx, +Force printing of non-graphic characters (as defined by +.Xr ctype 3 +and current locale settings) in file names as \\xxx, where xxx is the numeric value of the character in octal. .It Fl C Force multi-column output; this is the default when output is to a terminal. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011128134008.B687>