The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!/bin/bash
#
# name: rend.sh.
#
# Called by: parse.1.sh.
#
# Parameters:
# 1: The name of a parsed input file.
# 2: The name of a rendered output file.
# 3 & 4: Use for debugging. Eg -maxlevel debug

echo Contents of $1:
cat $1
echo ----------------------------
rm -rf $2
echo Output of renderer:
perl -Ilib scripts/rend.pl -parsed_file $1 -output_file $2 $3 $4
echo ----------------------------
echo Contents of $1:
cat $1
echo ----------------------------
echo Contents of $2:
cat $2