Jack wrote:
>
<snip>
> there must a easy
> way to remove all .o files(recursively) in one command line,
<snip>
user$ find . -name '*.o' | xargs rm
if you do not use directories with spaces in their names, otherwise you
must say:
user$ ( $IFS=$'\n'; for i in $( find . -name '*.o'); do
user> rm "$i"
user> done
> jack, btw, do you know a good site to learn regular expression?
The perlre man page (man perlre) is a _very_ good reference...
Marc
--
Marc Mutz <[EMAIL PROTECTED]> http://marc.mutz.com/Encryption-HOWTO/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics
PGP-keyID's: 0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)