Search Results

Search: Posts Made By: fiendracer
2,473
Posted By fiendracer
Well I'm just starting out too. I think this...
Well I'm just starting out too.
I think this would probably easier to handle w/ awk, but since I'm wrapping my head around sed I thought I would give it a go.
I've got some things to do, I'll be...
6,691
Posted By fiendracer
Glad to have been able to be of service.
Glad to have been able to be of service.
6,691
Posted By fiendracer
There's probably a few ways to do this and I'm...
There's probably a few ways to do this and I'm pretty sure this is not the easiest-
/^flag/ {
/1$/ {
s/flag=1/flag=0/
b
}
/0$/ {
s/flag=0/flag=1/
}
}
But run w/ this-
>...
5,063
Posted By fiendracer
If any one cares, I figured it out. Just had to...
If any one cares, I figured it out.
Just had to re-re-read the section in my sed & awk book on this.
Thanks to all that suggested that I shouldn't be doing it in sed, it was worth it all to just...
5,063
Posted By fiendracer
Well that's where I was headed, then I got so...
Well that's where I was headed, then I got so close...
And now it's to do it because it can be done!

I wouldn't have thought it doable in sed either, but there it is. Almost done...
5,063
Posted By fiendracer
sed pattern and hold space issues
Good day.

Trying to make a sed script to take text file in a certain format and turn it into mostly formatted html.
I'm 95% there but this last bit is hurting my head finally.

Here's a portion...
Showing results 1 to 6 of 6

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