What does [0-9]\+. means? Why do you nested it? On Sep 21, 3:46 pm, Neeraj <[email protected]> wrote: > *grep -R "\<[0-9]\+.[0-9]\+.[0-9]\+.[0-9]\+\>" * | awk -F':' '{print $1}' | > uniq > * > works on my system :P > > > > On Tue, Sep 21, 2010 at 2:07 PM, Chi <[email protected]> wrote: > > With perl installed: > > > find directory | xargs perl -pi -e 's/needle/replace/g' > > > With sed installed: > > > #!/bin/bash > > > find directory > mirror > > exec 3<mirror > > > while read file <&3 > > do > > replace=`more $file | sed -r -e 's/needle/replace/g'` > > cat $replace > $file > > done > > > On Sep 19, 11:30 pm, bittu <[email protected]> wrote: > > > Linux shell command to find all files in a directory which contain ip > > > addresses > > > -- > > You received this message because you are subscribed to the Google Groups > > "Algorithm Geeks" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<algogeeks%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/algogeeks?hl=en. > > -- > Neeraj
-- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
