-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> (12.02.2002 @ 1826 PST): Peter Leftwich said, in 1.4K: <<
> Here's another way I don't see listed:
> 
> $ find . -type f | wc -l
> 
> This means "find, starting right here, all files here and in subdirectories
> - then pipe the output through word count just the lines."
> 
> You'd think FreeBSD would have a command similar to ls, df, du or a flag to
> the find command such as "-countitems" or something.
>> end of "Re: File Counts" from Peter Leftwich <<

Why, when it's so simple to just type out "find|wc -l"? Peter, UNIX
would be ghastly if a new command were made for every simple thing
anybody wanted to do. Instead of complaining about how FreeBSD doesn't
have a command to do something, why not just make an alias?

# Adam


- --
Adam Weinberger
vectors.cx      >>      [EMAIL PROTECTED]
FreeBSD.org     <<      [EMAIL PROTECTED]
Bayer Berkeley  >>      [EMAIL PROTECTED]
#vim:set ts=8: 8-char tabs prevent tooth decay.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE97BeEo8KM2ULHQ/0RAtlDAKCxyVW/4et8Q/pTtvbcu1xbza/0UgCgl82D
Gyed9I7MPL7H2+68mWkDNRo=
=+65u
-----END PGP SIGNATURE-----

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to