a simple pgm but!!!!
{if ($NF ~ /0-9/) #this is o.k
print($0,"\r"} #this is o.k.
else
print($0,"\t\t\t\t\t# ",FNR,"\r"} #see below.
}
this pgm works fine EXCEPT it will not put a line number(FNR) or # on the print statement with the tabs.it will
put the FNR before and after but not on that line.what don't i see??thank you.
{if ($NF ~ /0-9/) #this is o.k
print($0,"\r"} #this is o.k.
else
print($0,"\t\t\t\t\t# ",FNR,"\r"} #see below.
}
this pgm works fine EXCEPT it will not put a line number(FNR) or # on the print statement with the tabs.it will
put the FNR before and after but not on that line.what don't i see??thank you.