in reply to Re: Unix shell ls vs readdir
in thread Unix shell ls vs readdir
it might be safer to use "\ls -l" instead
Under almost all circumstances, the backslash would not be needed. On the interactive command line, the backslash prevents alias expansion (such as "ls" —> "ls --color=auto", which then produces the ANSI escape sequences), because alias lookup happens before backslash escapes are processed, and there is no alias for "\ls".
However,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Unix shell ls vs readdir
by stefbv (Priest) on May 11, 2010 at 08:07 UTC |