NAME

$script_base

$script_base --help-all

HEADER

foreach my $line (@help) {
  print  $fh " " . $line;
}

print $fh <<FOOTER;

See Also

RecordStream(3) - Overview of the scripts and the system
recs-examples(3) - A set of simple recs examples
recs-story(3) - A humorous introduction to RecordStream
SCRIPT --help - every script has a --help option, like the output above

FOOTER

close $fh;
}