[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #13303] find should filter out non-printable characters if outp
From: |
Dmitry V. Levin |
Subject: |
Re: [bug #13303] find should filter out non-printable characters if outputting to tty |
Date: |
Tue, 7 Jun 2005 19:38:34 +0400 |
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
pgpioXR3mnQBO.pgp
Description: PGP signature
- [bug #13303] find should filter out non-printable characters if outputting to tty, Andreas Metzler, 2005/06/05
- Re: [bug #13303] find should filter out non-printable characters if outputting to tty, James Youngman, 2005/06/05
- Re: [bug #13303] find should filter out non-printable characters if outputting to tty, Andreas Metzler, 2005/06/05
- Re: [bug #13303] find should filter out non-printable characters if outputting to tty, James Youngman, 2005/06/05
- Re: Bug#311384: [bug #13303] find should filter out non-printable characters if outputting to tty, Vincent Lefevre, 2005/06/07
- Re: Bug#311384: [bug #13303] find should filter out non-printable characters if outputting to tty, James Youngman, 2005/06/07
- Re: Bug#311384: [bug #13303] find should filter out non-printable characters if outputting to tty, Vincent Lefevre, 2005/06/07
- Re: Bug#311384: [bug #13303] find should filter out non-printable characters if outputting to tty, James Youngman, 2005/06/07
Re: [bug #13303] find should filter out non-printable characters if outputting to tty,
Dmitry V. Levin <=
[bug #13303] find should filter out non-printable characters if outputting to tty, James Youngman, 2005/06/05
- [bug #13303] find should filter out non-printable characters if outputting to tty, James Youngman, 2005/06/05
- [bug #13303] find should filter out non-printable characters if outputting to tty, James Youngman, 2005/06/05
- [bug #13303] find should filter out non-printable characters if outputting to tty, Dmitry V. Levin, 2005/06/06
- [bug #13303] find should filter out non-printable characters if outputting to tty, James Youngman, 2005/06/07
- [bug #13303] find should filter out non-printable characters if outputting to tty, James Youngman, 2005/06/07
- [bug #13303] find should filter out non-printable characters if outputting to tty, James Youngman, 2005/06/07