Search Results

Search: Posts Made By: matfald
3,695
Posted By radoulov
Hi matfald, welcome to unix.com! You may...
Hi matfald,
welcome to unix.com!

You may try something like this:

awk '{ nr[NR] = $0 }
!(NR % s) && NR >= o {
for (i = NR - o ? NR - o : 1 ; i <= NR; i++)
print nr[i]
}' o=20 s=10...
Showing results 1 to 1 of 1

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