![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| find and replace string in a directory files | koti_rama | Shell Programming and Scripting | 2 | 05-30-2008 12:48 AM |
| shell script to find and replace string in multiple files | pharos467 | Shell Programming and Scripting | 10 | 05-20-2008 08:39 AM |
| Search, replace string in file1 with string from (lookup table) file2? | gstuart | Shell Programming and Scripting | 2 | 04-11-2008 11:32 AM |
| Find and replace a string in multiple files | pharos467 | UNIX for Dummies Questions & Answers | 2 | 11-05-2007 07:47 PM |
| Need to replace a string in 100's of files | calredd | Shell Programming and Scripting | 3 | 03-21-2007 01:14 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Replace a string containing :/=\ in files
I have read many forums about replacing a string in file.
I tested but it doesn't work with my string For example I want to replace =x=ks24Y\:LOP= with h\P6qwx:aUE/. Thank you |
| Forum Sponsor | ||
|
|
|
|||
|
What's wrong with awk? Did you try the solutions posted above?
Code:
sed "1,65s/';/ABCD';/" file >newfile |