Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)
"Alfred M. Szmidt" <address@hidden> 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