Search Results

Search: Posts Made By: annazpereira
10,531
Posted By rdcwayx
awk ' BEGIN{RS=""} ...
awk '
BEGIN{RS=""}
NR==FNR{max=(NF>max)?NF:max;next}
{for (i=4;i<=max;i=i+5) printf ($i=="")?"000000" FS:$i FS;printf ORS}' infile infile |awk -f testawk.awk

516414 378715 468922 367817 ...
4,893
Posted By Christoph Spohr
Hi, try: run=run egrep -e...
Hi,

try:


run=run
egrep -e "$run.*avg" file


HTH Chris
Showing results 1 to 2 of 2

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