Jan 15, 2009

if you have a phone number in thousands of files in a directory, how would you go about removing only the phone number from each file (not all files h

if you have a phone number in thousands of files in a directory, how would you go about removing only the phone number from each file (not all files have the number)
not only grep, sed is also important
sed -e '/number/d' -i *.*

No comments:

Post a Comment