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 a string to new Line
Name: bibhuti Date: April 4, 2005 at 08:18:57 Pacific OS: LINUX CPU/Ram: pIV
Comment:
The following expression is in one line
"AN- EIP04398375704| TI- Convergence and dissemination: A brief history and description of the StreamNet Project| AU- Oftedahl, Lenora A.|"
I want replace "TI-" to a new line with "TI: " like AN- EIP04398375704| TI- Convergence and dissemination: A brief history and description of the StreamNet Project| AU- Oftedahl, Lenora A.| What command to be used in VI,Sed, tr etc to change in above said format.
Summary: Hi, I have a file in vi which looks something like this: get_date update_date delete_date new_time get_amount update_amount I want to insert a new line with a string, every second line, such that the ...
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'm trying to replace a string pattern with a new line character. Any ideas how this can be done. I tried a few variants with sed, but no luck. Basically I'm trying to do something like this: Replac...