Simple awk question

From: dakotak1d@netscape.net
Date: Thu Mar 06 2003 - 16:44:58 EST


I know this has got to be simple, but how do I print the last 'field' in a string using awk? I know how to do a specific field, but without counting them, in other words how does one say "no matter how many fields there are in this string, just give me the value of the last one".

i.e.

ps -ef | grep sybase | awk {'print ???'}

thanks in advance,

Kevin

__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:57 EDT