Am I using old-AWK or new-AWK?

James Brister brister at decwrl.dec.com
Fri Jan 4 11:25:56 AEST 1991


Suppose I want to call AWK from a shell script, but I need the new version
of AWK.  Is there a little AWK script that will tell me what version I'm
using in a "decent" manner (i.e. doesn't just break if run under the old
version).

Thanks

James
--
James Brister                                           brister at decwrl.dec.com
DEC Western Software Lab., Palo Alto, CA    {uunet,sun,pyramid}!decwrl!brister



More information about the Comp.unix.shell mailing list