* Bruce Momjian <bruce@momjian.us> [080426 09:44]:
> Why does the first 'ls' not honor columns while the second does? How
> does 'ls' detect that the COLUMNS=120 is somehow different from the
> default COLUMNS value?
I would hazard a guess that COLUMNS isn't "exported" from your
shell environment in the first case. In the other cases, the explicit:
VAR=... command
the shell is told to set VAR explicitly before starting command, in
addition to any exported vars.
a.
--
Aidan Van Dyk Create like a god,
aidan@highrise.ca command like a king,
http://www.highrise.ca/ work like a slave.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFIEzKQuVxNPsxNPScRAgCZAKCIu1WAqZ9irgEAJxcd5q EwEDLfMwCgmrh+
ET1CbPL2z73mv3xPM3V85Wc=
=n3V1
-----END PGP SIGNATURE-----