source: trunk/essentials/sys-apps/gawk/vms/gawk.cld

Last change on this file was 3076, checked in by bird, 18 years ago

gawk 3.1.5

File size: 2.2 KB
Line 
1! Gawk.Cld -- command defintion for GAWK
2! Pat Rankin, Nov'89
3! [ revised for 2.12, May'91 ]
4 module Gawk_Cmd
5define verb GAWK
6 synonym AWK
7! image gawk !usage $ DEFINE GAWK disk:[directory]GAWK
8 parameter p1, value(required,list), label=gawk_p1, prompt="data file(s)"
9 qualifier input, value(required,list,type=$infile), label=progfile
10 qualifier commands, value(required), label=program
11 qualifier field_separator, value(required), label=field_sep
12 qualifier reg_expr, value(type=reg_expr_keywords) !(OBSOLETE)
13 qualifier variables, value(required,list)
14 qualifier copyright
15 qualifier version
16 qualifier lint
17 qualifier posix
18 qualifier usage
19 qualifier strict, negatable
20 qualifier debug, negatable
21 qualifier output, value(type=$outfile,default="SYS$OUTPUT")
22 disallow progfile and program !or not progfile and not program
23define type reg_expr_keywords
24 keyword awk
25 keyword egrep, default !synonym for 'posix'
26 keyword posix !equivalent to 'egrep'
27!
28! p1 = data file list (possibly including 'var=value' contructs)
29!note: parameter required; use 'sys$input:' to read data from 'stdin'
30! /input = program source file ('-f progfile')
31! /commands = program source text ('program')
32!note: either input or commands, but not both; if neither, usage message given
33! /field_separator = character(s) delimiting record fields; default is "[ \t]"
34! /reg_expr = type of regular expressions: awk or posix (posix == egrep)
35!note: by default, use awk style; /reg_expr (w/o value), use egrep style
36! /variables = list of 'var=value' items for assignment prior to BEGIN
37! /posix = force POSIX compatability mode operation
38! /strict = force compatability mode operation (UN*X SYS V, Release 4)
39! /output = destination for print,printf (default is sys$output: ie, 'stdout')
40! /lint = scan the awk program for possible problems and warn about them
41! /debug = debugging mode
42!note: compilation options determine whether debug mode is valid
43! /usage = display 'usage' reminder [describing this VMS command syntax]
44! /version = show program version
45! /copyright = show abbreviated edition of FSF's copyright notice
46!
Note: See TracBrowser for help on using the repository browser.