[comp.unix.questions] AWK file extension =? .awk , .w , .k , or .what?

mike@lll-lcc.UUCP (mike hummell) (04/18/89)

We're using awk (i.e. nawk) a lot lately, and wonder what the world uses
for a file extension on awk source files.  ".a" is used for assemble code,
so we suppose people use ".awk", although a one-letter extension would be
nice.  Is there any standard?

--------------------------------------------------------------------------
"Si Vis Pacem, Para Bellum"  --  Vegetius
--------------------------------------------------------------------------
ARPA:                   mike@lll-lcc.llnl.gov         (mike@lll-lcc.arpa) 
UUCP:                   { sun,lll-crg,rutgers }!lll-lcc!mike
U.S. MAIL:              LLNL ; P.O. Box 808 , L-363 ; Livermore, CA. 94550
Phone:  		office: (415)422-3922  	  home: (415)449-9064
--------------------------------------------------------------------------

luc@spcc386.UUCP (Luc Rooijakkers) (04/18/89)

In article <2425@lll-lcc.UUCP> mike@lll-lcc.UUCP (mike hummell) writes:
>We're using awk (i.e. nawk) a lot lately, and wonder what the world uses
>for a file extension on awk source files.  ".a" is used for assemble code,
>so we suppose people use ".awk", although a one-letter extension would be
>nice.  Is there any standard?

I don't know of any *standard* extension, but you could use .awk if you
like (I think most people would, look at .sh .ksh ...). But as far as I
know, .a is for *archives*, made by ar(1) (e.g. /lib/libc.a), not for
assembly source: that is .s. Although there seem to be systems using
.asm or .a68 or .a86 ...

Greetings
-- 
Luc Rooijakkers       luc@spcc386.UUCP  -or-  uunet!mcvax!hp4nl!spcc386!luc

jeffrey@ccnysci.UUCP (Jeffrey L Bromberger) (04/22/89)

In article <223@spcc386.UUCP> luc@spcc386.UUCP (Luc Rooijakkers) writes:
>But as far as I
>know, .a is for *archives*, made by ar(1) (e.g. /lib/libc.a), not for
>assembly source: that is .s. Although there seem to be systems using
>.asm or .a68 or .a86 ...
>

Last time I checked, assembly source (at least here on a VAX 
with 4.3 BSD) was tagged with a .s extension.

-- 
Jeffrey L. Bromberger
System Operator---City College of New York---Science Computing Facility
Anywhere!{cmcl2,philabs,phri}!ccnysci!jeffrey	jeffrey@ccnysci.BITNET