[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: coreutils ls
From: |
Micah Cowan |
Subject: |
Re: coreutils ls |
Date: |
Fri, 30 Nov 2007 13:58:07 -0800 |
User-agent: |
Thunderbird 1.5.0.12 (X11/20071019) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bob Proulx wrote:
> Vitaly V. Ch wrote:
>> As I understand ls require null-separated format of output stream which
>> will suitable for xargs.
>>
>> in this case I systematically use find instead of ls.
>
> Your message seems to be garbled and I, and perhaps others on the
> mailing list too, cannot understand what you are trying to say. If
> you have a bug please describe the problem such that we can recreated
> it. If you are requesting a feature then try to state the feature
> request in such a way that other people can understand it. Thanks.
It reads to me like a request for ls to produce null-separated output,
so that
$ ls -0 .
will produce output like
$ find . -print0 -maxdepth 1
Vitaly: note that both find's -print0 and xarg's -0 are GNU extensions,
and are not portable.
And, if find does the job, then why do you need a second tool to be able
to accomplish the same thing?
- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFHUIdv7M8hyUobTrERApeCAJ96OSHf2LaJ3rQPdPbK1BHMZucu9gCfchuW
/UYB8IciNH7QH80O2p/XcNg=
=NKV9
-----END PGP SIGNATURE-----