hi everybody
i would to select the last field of a file
here as you can see i select the field number 8
y=`cat sortie2 | grep "^[1-9999]"| grep "starting"| awk '{ print $8}'`
but line can containt more or less field in never know, i just know is the last one
so i wondering to know if is something like
y=`cat sortie2 | grep "^[1-9999]"| grep "starting"| awk '{ print $lastfield}'`
or a other solution
thank a lot