Tako rzecze Anselm R. Garbe (w e-mailu datowanym 2006-12-21, 12:06):
> On Thu, Dec 21, 2006 at 12:03:59PM +0100, pancake wrote:
> > > `ls /usr/bin | dmenu`
> >
> > `ls --color=never /usr/bin/ | dmenu`
> >
> > ...on GNU systems to avoid ansi weirdness.
>
> Hehe, well I didn't considered a GNU system ;)
No, come on, this is some GNU FUD. For one thing, ls detects whether it
outputs to a terminal or to a pipe and doesn't use ANSI colour if the
output is to a pipe or a file, unless you *force* it to.
Also GNU ls does not default to colouring it's output, but usually most
people have an alias in which ls is aliased to ls --color=auto (which
wouldn't colour to a pipe). So if you want to be *sure* you can: unalias
ls or use /bin/ls, or use arg's lsx command.
Cheers,
[a]
-- . Antoni Grzymala - antoni (at) chopin.edu.pl -------------------. | OpenPGP KeyID EB315583 available now from a keyserver near you | | Fingerprint A819 6D2E D5EB D9E0 D2D9 7AF6 2FAF 4A11 EB31 5583 | `----------------------------------------------------------------'Received on Thu Dec 21 2006 - 16:26:14 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:34:04 UTC