1 & exec_com to convert "lines" file into Channel Master File
 2 &
 3 &input_line off
 4 &command_line off
 5 &attach
 6 qedx
 7 r &1
 8 w CMF
 9 1,$s/^/-/
10 1,$s|^-\c*.*$|/* & */|
11 1,$s/-\c*//
12 1,$s/^-$//
13 1,$s|^/\c*  \c*/||
14 1,$s/^-.*$/& x/
15 1,$s//&";/
16 1,$s/^-.* /&!/
17 1,$s/     !/ /
18 1,$s/^-.* /&; comment: "/
19 1,$s/^-/name: /
20 $a
21 end;
22 \f
23 1i
24 /* Channel Master File generated from the "lines" file */
25 \f
26 1,$s/ comment: "x";//
27 1,$s/ x";$/";/
28 1,$s/ ;/;/
29 1,$s/name: net...;/& line_type: Network; charge: network;/
30 1,$s/^name: caa...;/& charge: caa;/
31 w
32 q
33 & end