Search Results

Search: Posts Made By: danielos
1,757
Posted By danielos
I propose you a solution, maybe it is not the...
I propose you a solution, maybe it is not the best one but you have to correct a bit of code but it works.


awk '$0 ~ /\(/, $0 ~ /PRIMARY/ {print $1,$2}' kk | while read var tipo
do ...
1,700
Posted By danielos
Hi! You can use also... cat Test1.dat | nawk...
Hi! You can use also...

cat Test1.dat | nawk -v var="20120912" 'BEGIN{count=0}\
{if ($0 ~ var) ++count;}
END{print count}'
Showing results 1 to 2 of 2

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