Debian Codegraph @

vms/gawk_verb.com

raw
1 $! gawk_verb.com - build the gawk_verb.cld from the gawk.cld.
2 $!
3 $! The CLD file needed to modify a DCL command table is different
4 $! from the CLD file needed to build the product by specifying an image.
5 $!
6 $! So read in the [.vms]gawk.cld and generate a gawk_verb.cld.
7 $!
8 $! 23-Dec-2012 - J. Malmberg
9 $!
10 $outfile = "sys$disk:[]gawk_verb.cld"
11 $infile = "[.vms]gawk.cld"
12 $open/read cld 'infile'
13 $create 'outfile'
14 $open/append cldv 'outfile'
15 $loop:
16 $read cld/end=loop_end line_in
17 $if f$locate("image gawk", line_in) .lt. f$length(line_in)
18 $then
19 $ write cldv " image gnv$gnu:[usr.bin]gnv$gawk"
20 $ goto loop
21 $endif
22 $write cldv line_in
23 $goto loop
24 $loop_end:
25 $close cldv
26 $close cld