Re:A small primer on xargs
by robertskmiles on Monday May 14, 2012 @05:51AM
(#3970254)
> more likely is its aliased to "ls --color=auto" or similar which will work normally.
My ls (which I haven't much reconfigured) behaves very differently depending on whether it's outputting to a shell or a pipe or redirect. Not just colours, but columning and filetype indicators as well.
Also ls is never aliased to "ls --color=always" unless you've done that more likely is its aliased to "ls --color=auto" or similar which will work normally.