Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!phil From: phil@ux1.cso.uiuc.edu (Phil Howard KA9WGN) Newsgroups: comp.unix.questions Subject: AWK ARGV[0] Message-ID: <1990Dec20.052838.18520@ux1.cso.uiuc.edu> Date: 20 Dec 90 05:28:38 GMT Organization: University of Illinois at Urbana Lines: 8 I would like to know how I can retrieve the original argv[0] from an awk script. ARGV[0] is supposed to have the value "awk" though on some systems this is not true. The purpose is to be able to detect what command name was used to invoke the awk script. -- --Phil Howard, KA9WGN-- | Individual CHOICE is fundamental to a free society | no matter what the particular issue is all about.