Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2001 22:27:43 +0200
From:      Giorgos Keramidas <charon@labs.gr>
To:        Peter Pentchev <roam@ringlet.net>
Cc:        doc@freebsd.org
Subject:   Re: minor ls.1 clarification
Message-ID:  <20011128202742.GD8893@hades.hell.gr>
In-Reply-To: <20011128134008.B687@straylight.oblivion.bg>
References:  <20011128035451.GA25056@hades.hell.gr> <20011128134008.B687@straylight.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011128202742.GD8893>