From: Thibault Godouet Date: Sun, 25 Feb 2001 14:44:31 +0000 (+0000) Subject: bug corrected : used to modify manpages X-Git-Tag: ver2_9_4~402 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb518eb35a141314d0de99349483bc5a679525b8;p=thirdparty%2Ffcron.git bug corrected : used to modify manpages --- diff --git a/script/gen-doc b/script/gen-doc index 8dc8417..6d6a4e9 100755 --- a/script/gen-doc +++ b/script/gen-doc @@ -1,6 +1,6 @@ #!/bin/sh -# $Id: gen-doc,v 1.8 2000-06-22 15:48:41 thib Exp $ +# $Id: gen-doc,v 1.9 2001-02-25 14:44:31 thib Exp $ PREVIOUS=`cat ./VERSION` @@ -10,9 +10,9 @@ if test $PREVIOUS != $1; then for i in * do if test $i != RCS; then - if echo $i | egrep -e '[A-Z]+' > /dev/null; then + if echo $i | egrep -e '[[:upper:]]+' > /dev/null; then echo $i - sed -e "s:fcron version [0-9.]*:fcron version $1:" < $i > tmp + sed -e "s:fcron version [0-9\.]*:fcron version $1:" < $i > tmp mv -f tmp $i chown $USER $i rm -f tmp