view netinstall/version.pl @ 1192:12bbce3e695c

[xemacs-hg @ 2003-01-07 07:23:34 by stephent] don't block pipes <87wulh2znx.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Tue, 07 Jan 2003 07:23:37 +0000
parents 3078fd1074e8
children
line wrap: on
line source

while (<STDIN>) {
  if (/^\$Revision:\s*([0-9\.]*)/) {
    print "char *version = \"$1\";\n";
    print "static char *id = \"\\n%%% setup-version $1\\n\";\n";
  }
}