if [ x$cohere != x ]; then
sed <$0 -e '1,/^#'$cohere'--/d; /^#--0--/,$d'
"$0" --descs | sort -t % -k 1.$sortkey
- test "${PIPESTATUS[*]}" = "0 0"
- sed <$0 -e '1,/^#--3--/d; /^#--0--/,$d'
+ trains_revid=`${0%/*}/../.git-revid`; export trains_revid
+ sed <$0 -e '1,/^#--3--/d; /^#--0--/,$d' |
+ perl -pe 's/\$Id\$/\$Id: $ENV{trains_revid} \$/'
exit 0
fi
if (@ident_strings && !($subsegcmapreq || %subsegcmap)) {
my ($is);
- $is= join('; ', @ident_strings);
+ my $dir= $0; $dir =~ s,/.*?$,,;
+ my $gitid= `$dir/../.git-revid`; $? and die $?; chomp $gitid;
+ unshift @ident_strings, $gitid;
+ $is= join('; ', grep { m/\S/ } @ident_strings);
$is =~ s/[()\\]/\\$&/g;
ol("25 50 moveto".
"/Courier-New findfont 6 scalefont setfont\n".
lprintf("table of heights:");
dump_schedule(1);
+my $dir= $0; $dir =~ s,/.*?$,,;
+my $gitid= `$dir/../.git-revid`; $? and die $?; chomp $gitid;
+
lprintf("");
lprintf("%s",
- '$Id$'
+ "\$Id: $gitid \$"
);