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.
replacing a string in a file
Name: BHubb Date: April 9, 2004 at 22:15:14 Pacific OS: HP 11ux CPU/Ram: 900mhz/8gb
Comment:
If a file in unix has the string "123ABC" in it on 50 different lines and I only want to replace the first 25 of them with "xxxxxx", how would I do that with a unix command??
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: I need to create a script, taking a number of parameters (a target string, a string to replace the target string, and a number of files), that performs the substitution and a backup file creation whe...
Summary: I want to insert a string in a template txt file. Let my explain. Let suppose U have a template. Name it "pp.txt" with this structure: [send] . .<--- I want insert a string here. .<--- or here. ...