Search Results

Search: Posts Made By: pioavi
3,469
Posted By pioavi
Sorting lines between patterns in alphabetical order
Hi, need help in sorting lines between strings "<section status = “ole-service”>" and "</section>" in alphabetical order, based on the text in red. Hoping for an AWK or SED solution. Thank you.
...
1,792
Posted By pioavi
Thank you rdrtx1. I've used this. Appreciate your...
Thank you rdrtx1. I've used this. Appreciate your help. (https://www.unix.com/members/302126107.html)
1,792
Posted By pioavi
Delete line breaks and extra spaces between patterns
Hi, if in between strings "<section" and "</section>" across multiple lines there occurs the string "ole-present", delete all line breaks and replace any tabs or multiple spaces with a single space....
1,868
Posted By pioavi
Append text to line if begins with pattern1 AND does not end with pattern2
Hello, I'm looking for sed solution to change

...
<li>keyword</li>
<li>keyword
<li>keyword</li>
<li>keyword
<li>keyword</li>
...
to
...
<li>keyword</li>
<li>keyword</li>...
1,579
Posted By pioavi
Thank you birei, for the script and the pointer....
Thank you birei, for the script and the pointer. Thank you too itkamaraj.
1,579
Posted By pioavi
Delete chunk of text if contains certain strings
Using awk how to delete chunk of text if it contains certain strings? As in the following, delete a reference chunk, i.e. everything from <reference attribute = "value"> to </reference> inclusive, if...
2,178
Posted By pioavi
Just what I wanted. Thank You! :)
Just what I wanted. Thank You! :)
2,178
Posted By pioavi
Concatenate lines with unique string AND number
In Bash using AWK or sed I need to convert the following file:
...
numitem_tab0[] =<p>1 KEYWORD</p><p>2 KEYWORD</p><p>3 KEYWORD</p><p>4 KEYWORD</p><p>5 KEYWORD</p>...<p>25 KEYWORD</p>...
Showing results 1 to 8 of 8

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