Strange output by the "ls -l|less" command pipe in FC5
Ambrogio
fn050202 at flashnet.it
Fri Apr 7 06:30:41 UTC 2006
Il giorno ven, 07/04/2006 alle 00.28 -0500, Mike McCarty ha scritto:
> Try this...
>
> $ ls -l --color=never | less
>
> If that looks ok (it should) try
>
> $ ls -l --color=auto | less
>
> That *should* also work. You may have an alias for "ls".
It's probably an alias.
I use ls -l --color=tty to forse the color to be used only on terminal
that recognize the escape sequence.
All other is treated as with no color.
So all the piped command are without escape sequence
Bye
Ambrogio
More information about the fedora-list
mailing list