Hi all,
I am having a problem with awk. I need to get the last two fields of records in a file that are of different lengths. I can get
|awk {'print $NF'} to work for the last one, but need one prior to it also. I have tried things like:
|awk {'print $NF-1'}, etc to no avail. Any info on this would be helpful.
Thanks
Will
I am having a problem with awk. I need to get the last two fields of records in a file that are of different lengths. I can get
|awk {'print $NF'} to work for the last one, but need one prior to it also. I have tried things like:
|awk {'print $NF-1'}, etc to no avail. Any info on this would be helpful.
Thanks
Will