Search Results

Search: Posts Made By: rael
8,170
Posted By rael
Also can be done using vim. for file in...
Also can be done using vim.


for file in $(grep -l "PATTERN" `find . -name "*.php"`); do vim "+%s:PATTERN:REPLACE:g" "+wq" $file; done;
Showing results 1 to 1 of 1

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