-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to James Youngman on 12/7/2005 1:43 AM: > > This means that I'm considering changing the output quoting method for > -ls and -print where the output goes to a tty. Should I also consider > changing -ls and -fls to just print the literal pathname if the output > is going to a non-terminal?
I would argue for adding a --quoting-style option (or -quoting-style) to match ls, and allow the user to choose which output quoting style find uses, regardless of whether stdout is a tty or not. When that flag is not present, I would make all filenames printed to a tty be quoted on the grounds that it is for human consumption, and all filenames printed to a non-terminal be literal on the grounds that the tool you are piping to should not have to unquote the name. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDluGn84KuGfSFAYARAmR2AKC7alpFA+vJT2Z5HWN2HE7diFkcPwCgw6dX dsKteyjDTrJyVlQTvn9E2ec= =fgr3 -----END PGP SIGNATURE----- _______________________________________________ Bug-findutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-findutils
