Search Results

Search: Posts Made By: TDUser
1,483
Posted By TDUser
Ranjith - Can you please explain your command...
Ranjith - Can you please explain your command below...

Let's assume I found the line with "a sss" using grep... all I now need to do is start deleting lines till I find the next keyword "a ..."...
1,483
Posted By TDUser
Input a bbb c ddd e fff g hhh a...
Input

a bbb
c ddd
e fff
g hhh

a sss
c ggg
e xxx
f sss

a ddd
d sss
r sss
g hhh

Output

a bbb
1,483
Posted By TDUser
Parse and delete lines efficiently
Hi

I have a set of options in the form of key value in a file. Need to find a particular value of 'a' and delete all lines till the next 'a' keyword .

Ex :

a bbb
c ddd
e fff
g hhh
...
Showing results 1 to 3 of 3

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