Search Results

Search: Posts Made By: rhetoric101
6,161
Posted By rhetoric101
Additional Question
Thanks for the explanations and sample script showing that I was creating an infinite loop!

I'm not sure if I need to start a new thread, but I noticed that the code suggested is unable to...
6,161
Posted By rhetoric101
The code you suggested worked very well! It...
The code you suggested worked very well! It replaces only the underscores betwen the tags, which is want I wanted.


sed '
s/\(<[^>]*>\)\([^>]*\)\(<[^>]*>\)/\1\n\2\3/g
:loop...
6,161
Posted By rhetoric101
Code correction
I made a mistake when I posted my code example. I neglected to show that I wanted to replace all underscores with that same underscore followed by a zero-width space. Here is the corrected example (I...
6,161
Posted By rhetoric101
SED: Can't Repeat Search Character in SED Output
I'm not sure if the problem I'm seeing is an artifact of sed or simply a beginner's mistake. Here's the problem: I want to add a zero-width space following each underscore between XML tags. For...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 08:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy