Search Results

Search: Posts Made By: ghostdog74
272,899
Posted By ghostdog74
NB: this only tested with your sample. awk...
NB: this only tested with your sample.

awk 'BEGIN{c=1}
/^AAA.+nmon_aix53#/ {print > "file"c }
/^ZZZZ/,/^BBBP.+ending vmstat -v#/{
if ($0~/^BBBP/){c=c+1;print >"file"c;next}...
272,899
Posted By ghostdog74
awk 'NR==5 || NR==9' "file" if you want a...
awk 'NR==5 || NR==9' "file"

if you want a range

awk 'NR>=5&&NR<=9' "file"
Showing results 1 to 2 of 2

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