[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: find command usage

The original mail seems to be lost. so sending again.

 On Thu, 11 Jan 2001, sreangsu acharyya wrote: 
> I would do it this way
> find . -name *.[ch] | grep -v "[23]600">cscope.file 
> I don't know whether find has a negation operator similar to grep -v, but
> i have a feeling its there, time for me to look the man pages

find . -name "*.[ch]" -not -name "*[23]600*" >csope.file

the double quotes being necessary to avoid expansions.


#!!!	If anything can go wrong, _FIX_ it. (To hell with MURPHY)
						Ajay kumar Dwivedi