Search Results

Search: Posts Made By: pgbuddy
7,849
Posted By pgbuddy
Hi Franklin52, Your code worked. Can you...
Hi Franklin52,

Your code worked. Can you please explain your code?
7,849
Posted By pgbuddy
file is big in the range of 16MB.. Is there any...
file is big in the range of 16MB.. Is there any option so that
awk '/\(V/ {print "START"$0RT}' RS="START|IO)"

work for bigger file. It works only for few lines. Rest of the file remains...
7,849
Posted By pgbuddy
Thanks. It works for some 8k lines.. but it is...
Thanks. It works for some 8k lines.. but it is not working for lines below 8k in a file.
7,849
Posted By pgbuddy
Thanks, It worked. Can you do me favor by...
Thanks, It worked. Can you do me favor by explaining the code.
7,849
Posted By pgbuddy
Hi Yinyuemi, Can you explain awk '/\(/...
Hi Yinyuemi,

Can you explain

awk '/\(/ {print "START"$0RT}' RS="START|O)"

so that I can modify it according to my real need.

---------- Post updated at 11:28 PM ---------- Previous...
7,849
Posted By pgbuddy
Just to clarify.. At multiple places in the file...
Just to clarify.. At multiple places in the file START would be followed by END and START followed by END (VIO), and I want to print only the textr when START followed by END (VIO).

----------...
7,849
Posted By pgbuddy
Thanks for reply. but it doesn't work.. I tried...
Thanks for reply. but it doesn't work.. I tried and it is printing everything in the file
7,849
Posted By pgbuddy
Help with sed/awk for reverse search and print
I have a file which is

DFDG
START
DSFDS
DSDS
XXX
END (VIO)
AADD
START
SDSD
FGFG
END

and I have to print the lines between START and END (VIO). In the files there are multiple places...
Showing results 1 to 8 of 8

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