>>>>> "Bish" == USM Bish <[EMAIL PROTECTED]> writes:

    Bish> [snip]
    Bish> 2. Once you pipe the output through more or less, colors
    Bish> would be lost, and multi-column outputs would not be
    Bish> there. The ANSI color codes would be stripped by the
    Bish> pager. If you do "ls -alf --color=yes > somefile" and you do
    Bish> a cat of "somefile" you will see it in single column. View
    Bish> the same file through a pager and even colours will go.

ls -l | less -r will retain the colours.

Regards,

-- Raju
-- 
Raju Mathur          [EMAIL PROTECTED]           http://kandalaya.org/
                     It is the mind that moves

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to