view netinstall/version.pl @ 4696:ecc468b62551

funcall beginning-of-defun-function arg
author andreas.roehler@online.de
date Mon, 21 Sep 2009 21:40:35 +0200
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";
  }
}