"Alfred M. Szmidt" <[EMAIL PROTECTED]> wrote: > Command substitution works by the shell creating a pipe to capture > the output; when ls sees that it is writing to a pipe, it defaults > to -1 instead of -C. > > Urgh, thanks for the explanation. I suppose this can't be changed > right? Cause I think it is a annoying behaviour...
It's useful in cases like "ls | grep", etc. SUSv3 requires the default to be -1 except for ttys. You can always squash the whitespace if you want, with var=`echo $var`. paul _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-coreutils