Search Results

Search: Posts Made By: indo1144
6,436
Posted By RudiC
awk ' {B[NR%3]=$0} ...
awk '
{B[NR%3]=$0} # use a circular 3 line buffer (B array) for delayed printing
NR>2 {print B[(NR+1)%3]} # from line three, print line No....
Showing results 1 to 1 of 1

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