On Sun, Jun 05, 2005 at 03:07:24PM +0100, James Youngman wrote:
> On Sun, Jun 05, 2005 at 12:02:59PM +0000, Andreas Metzler wrote:
> 
> > Afaict dumping non printable characters to the terminal usually is not 
> > wanted
> > and should not be default.
> > 
> > Posix says:
> > -print
> >     The primary shall always evaluate as true; it shall cause 
> >     the current pathname to be written to standard output.
> > 
> > so by filtering out these characters (e.g by replacing them with
> > questionmarks or their escapecodes) we would not be following posix to the
> > letter. But do you want to be _that_ strict?
> 
> I'm tempted to adopt the same approach as "ls" does in coreutils,
> which is to print a "?" for nongraphic characters if stdout is a tty.

GNU ls also have --hide-control-chars/--show-control-chars options for
explicit control.  Do you plan to introduce these options in find, too?


-- 
ldv

Attachment: pgpHsroCeEhHq.pgp
Description: PGP signature

_______________________________________________
Bug-findutils mailing list
Bug-findutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to