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.
change string in multiple file
Name: plastic_tree Date: March 8, 2003 at 03:54:23 Pacific OS: RH linux 8.0 CPU/Ram: 1.8 P4/512mb
Comment:
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 all occurences of the string 'hei' to 'hello' in only the file with extension .txt....how i can do that.....thanks in advance...
Summary: The short story is I want to find a string in a file and change it. Here are the details. I'm looking for a way to change every occurence of $source to "JavTemp" in a file called JavTemp2.java. $so...
Summary: If the data in your file is in this format: /dir/dir/dir/filename /dir/dir/filename /dir/filename while read line do basename $line done < datafile ...