Search Results

Search: Posts Made By: varun22486
1,105
Posted By Yoda
Please use code tags, not icode tags for posting...
Please use code tags, not icode tags for posting code fragments or data samples.

I told you before to use nawk or /usr/xpg4/bin/awk instead of awk on Solaris.
1,105
Posted By Yoda
An awk solution: awk ' !/AFTER/ { ...
An awk solution:
awk '
!/AFTER/ {
s = s ? s "," $0 : "(" $0
}
/AFTER/ && s {
print "AFTER", s ")"
s = ""
}
...
Showing results 1 to 2 of 2

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