Hi
I have this awk script and I want to export the number of records to Unix shell !!!
awk -F: '$1 !~ "#" { print $1 }; END { lines=NR }' filename
I want to access the "lines" variable in Unix shell.
Can anyone help me...
thanks in advance
Bala
I have this awk script and I want to export the number of records to Unix shell !!!
awk -F: '$1 !~ "#" { print $1 }; END { lines=NR }' filename
I want to access the "lines" variable in Unix shell.
Can anyone help me...
thanks in advance
Bala