]> git.ipfire.org Git - thirdparty/fcron.git/commitdiff
bug corrected : used to modify manpages
authorThibault Godouet <yo8192@users.noreply.github.com>
Sun, 25 Feb 2001 14:44:31 +0000 (14:44 +0000)
committerThibault Godouet <yo8192@users.noreply.github.com>
Sun, 25 Feb 2001 14:44:31 +0000 (14:44 +0000)
script/gen-doc

index 8dc84173a6ce5c3aabf4240d7f3c2567db78e825..6d6a4e9336e57271915c25428c251586a52e20b7 100755 (executable)
@@ -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