Paul Eggert wrote:
> > +.B cat -s
>
> and for cat I'd prefer the following (as we shouldn't be encouraging
> the use of any of cat's options):

Agreed.  GNU cat -s squeezes blank lines.  HP-UX and other legacy unix
systems cat -s is silent about non-existent files.  It is one of those
terribly nonportable options.  Insidiously silent but different.
Never use it.  If you must use it then only use --squeeze-blank
because it will either work as intended or fail noisily and there is
never any doubt which happened.

Bob



_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to