Search Results

Search: Posts Made By: ksubrama
2,055
Posted By ksubrama
Yea .. good catch .. I forgot to type 'xargs'...
Yea .. good catch .. I forgot to type 'xargs' before grep ..
find . -type f -name *.c | xargs grep -l foo

This did the right thing and found all the relevant files.

I probably did not...
2,055
Posted By ksubrama
highly specific search and replace for a large number of files
hey guys,

I have a directory with about 600 files. I need to find a specific word inside a command and replace only that instance of the word in many files. For example, lets say I have a command...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 05:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy