* Bruce Momjian <[EMAIL PROTECTED]> [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,
[EMAIL PROTECTED]                                       command like a king,
http://www.highrise.ca/                                   work like a slave.

Attachment: signature.asc
Description: Digital signature

Reply via email to