2 # Script to coordinate parsing of S. Chamberlain source-embedded
3 # header-file markup language.
5 # '-i' option means use *proto-internal* segments, else just *proto*
12 base
=`echo $1 | cut -d '.' -f 1`
15 # 1) awk discards lines not intended for header, and marks blocks of
16 # text with comments identifying source file;
17 # 2) first sed pass interprets Chamberlain markup;
18 # 3) further sed passes clean up---merging adjacent comments etc.
20 awk -f awkscan-
$SFX $1 |\
25 sed -f movecom-p
>$base.
$SFX