Re: listing directories
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message
* Stephane CHAZELAS <this.address@is.invalid> writes:
> 2006-08-19, 22:21(+10), Steve Youngs:
>>
>> * Stephane CHAZELAS <this.address@is.invalid> writes:
>> > find . \! -name . -prune -type d -print
>>
>> find . -type d -maxdepth 1
>>
>> Seems a little easier.
> But is not Unix. Only in GNU and some BSDs.
OK. I've been spoiled too much by GNU/find. :-) However, I do think
it is probably a safe bet that the OP is using GNU/find.
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| Te audire no possum. |
| Musa sapientum fixa est in aure. |
|----------------------------------<steve@youngs.au.com>---|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: The SXEmacs Project <http://www.sxemacs.org>
Comment: Eicq - The SXEmacs ICQ Client <http://www.eicq.org/>
iEYEARECAAYFAkTn5xwACgkQHSfbS6lLMAMllwCgrdVTtR9LjF t4oDnsppuKar09
ApYAmwZTKxUfAdTH8uOHX73vN7/IAOYI
=rOYU
-----END PGP SIGNATURE-----
|