Search Results

Search: Posts Made By: quixoticking11
2,877
Posted By quixoticking11
This seems to partially work. It works fine for...
This seems to partially work. It works fine for lines that have a tag <Some tag> but it causes unintended side effect. It also does lines that don't have tag in it.
Ex.
I am fine. This is line...
2,877
Posted By quixoticking11
Does not work
This does not seem to work. Keeps giving me illegal statement error.
2,877
Posted By quixoticking11
Getting sed to work on part of a line
I been trying to get this right. I have trying to get rid of spaces in between the character < and the character >. Everytime I try, sed gets too greedy and do the whole line.

Ex.

< T AG 1>...
1,766
Posted By quixoticking11
That did it
Thanks that did it. I have spent so much time trying to get it right and your statement solved the problem. You are a genius.
1,766
Posted By quixoticking11
Joining lines and find pattern
I have a file that does not have much formatting. I would like every time it finds a tag (something that starts with < and end with > like <Tag1> ) to be at the beginning of the line and joined with...
8,876
Posted By quixoticking11
fpmurphy, your ways seems to work. Thanks
fpmurphy, your ways seems to work.

Thanks
8,876
Posted By quixoticking11
Almost work
Thanks, this way almost work. The problem I found out with this is the awk statement throws an error and quits when it runs into a line with a % sign in it.

Ex.

When it process through lines...
8,876
Posted By quixoticking11
Merging previous line using sed
I've been trying to merge a previous line when I find a pattern using sed with no luck. Maybe someone can help me.

I am trying to find </Endtag>. Once I find that, I want to merge the previous...
9,106
Posted By quixoticking11
Thanks but what about 2nd part
Thanks, that seems to work on the first part.
But what about the 2nd part where the ending tag is split between two lines.
Sed seems to work when it is on one line but not when it is one two...
9,106
Posted By quixoticking11
Using sed to substitute first occurrence
I am trying to get rid of some ending tags but I run into some problems.

Ex.

How are you?</EndTag><Begin>It is fine.</Begin><New> Just about

I am trying to get rid of the ending tags, starts...
1,772
Posted By quixoticking11
Thanks that did it.
Thanks that did it.
1,772
Posted By quixoticking11
Matching everything on a line using sed
I having a little trouble. I want to substitute whatever is on the first line no matter what is on it with the word BEGINNING. So on the first line, the only word on it is BEGINNING

I tried the...
1,412
Posted By quixoticking11
.....
Too old to be in school. Just working on a work project. Just need some help to get over this hurdle.

Sed/awk kind of sucks in breaking out one word in a line and breaking out file into multi...
1,412
Posted By quixoticking11
Need some help with parsing
I have a big xml file with little formatting in it. It contains over 600 messages that I need to break each message out in its own separate file.
The xml file looks in the middle of it something...
Showing results 1 to 14 of 14

 

Featured Tech Videos

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