Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Replace string in many files
Name: tspj88 Date: April 29, 2004 at 18:20:43 Pacific OS: xp CPU/Ram: 512
Comment:
I need to update the date content in a bunch of files called march1, march2, march4, march5,...., march30, april1, april2,....april28
for P in $1 [# march* --->$1] do sed 's/*2002/*2003/g' $1 > $1.tmp mv $1.tmp $1 done
This script can only handle the march1 but not for all files with march
Summary: hello, may i know how can i find and change string in multiple file...i had refer some of the post here .. but found that all is about find and change string in a file only..let say i want to change a...
Summary: Hi, Can anyone help me with the command to do the following search and replace in the following files: Files: file1 file2 file3 Search String: "GET /thisfile?id= Replace String: "GET /thisfile?source=...