-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Eric Blake on 9/7/2007 9:05 AM: > > Likewise, dual file-type matching is already possible, as in this example > that finds both directories and regular files: > > $ find CVS ( -type d -o -type f )
Hmm - the Savannah bug mailer isn't too smart. The above line in the email got eaten, but the web page shows the correct syntax: find CVS \( -type d -o -type f \) You have to quote ( and ) to make them not be interpreted by the shell. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG4Wnn84KuGfSFAYARAqkgAKCZM1EY5oj4vClJrH0D1KUzjW0KvQCeKnQy tmV2LEPPki3lJQab1AeKT5I= =D18k -----END PGP SIGNATURE-----
