From owner-freebsd-doc Wed Nov 28 3:41: 2 2001 Delivered-To: freebsd-doc@freebsd.org Received: from straylight.ringlet.net (sentinel.office1.bg [217.75.134.126]) by hub.freebsd.org (Postfix) with SMTP id D3FF137B41B for ; Wed, 28 Nov 2001 03:40:52 -0800 (PST) Received: (qmail 3655 invoked by uid 1000); 28 Nov 2001 11:40:08 -0000 Date: Wed, 28 Nov 2001 13:40:08 +0200 From: Peter Pentchev To: Giorgos Keramidas Cc: doc@freebsd.org Subject: Re: minor ls.1 clarification Message-ID: <20011128134008.B687@straylight.oblivion.bg> Mail-Followup-To: Giorgos Keramidas , doc@freebsd.org References: <20011128035451.GA25056@hades.hell.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011128035451.GA25056@hades.hell.gr>; from charon@labs.gr on Wed, Nov 28, 2001 at 05:54:52AM +0200 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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