Search Results

Search: Posts Made By: jm4smtddd
1,918
Posted By Yoda
You can use a next...
You can use a next (https://www.gnu.org/software/gawk/manual/html_node/Next-Statement.html) statement:-
NR > 7 {
if ( ( NR == 13) || ( $5 == 0 ) )
next
else
<parsing code here>
}
9,373
Posted By vgersh99
nawk '{idx=$1 $2} FNR==NR{f1[idx];next} idx in...
nawk '{idx=$1 $2} FNR==NR{f1[idx];next} idx in f1' file1 file2
Showing results 1 to 2 of 2

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