From owner-freebsd-doc Wed Nov 28 12:28: 3 2001 Delivered-To: freebsd-doc@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 17DEB37B405 for ; Wed, 28 Nov 2001 12:28:01 -0800 (PST) Received: from hades.hell.gr (patr530-a236.otenet.gr [212.205.215.236]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id fASKRoY14706; Wed, 28 Nov 2001 22:27:52 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id fASKRik23930; Wed, 28 Nov 2001 22:27:44 +0200 (EET) (envelope-from charon@labs.gr) Date: Wed, 28 Nov 2001 22:27:43 +0200 From: Giorgos Keramidas To: Peter Pentchev Cc: doc@freebsd.org Subject: Re: minor ls.1 clarification Message-ID: <20011128202742.GD8893@hades.hell.gr> References: <20011128035451.GA25056@hades.hell.gr> <20011128134008.B687@straylight.oblivion.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011128134008.B687@straylight.oblivion.bg> User-Agent: Mutt/1.3.23.1i 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 2001-11-28 13:40:08, Peter Pentchev wrote: > > How about the following? One might as well s/ctype/isgraph/, but > I also think ctype(3) is better. > -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, I like ctype(3) but this does not address the thing that caused me to change this. The use of ``non-graphic'' might lead someone to believe that isgraph() is used, but ls/util.c:prn_octal() uses isprint()! -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message