commit fdd8acfc3c025504f586ce819d2b512605442483
parent 78ba78a11635574ab9e4dd0c01513ec7be7b7968
Author: lostd <lostd@2f30.org>
Date: Mon, 9 Dec 2013 21:48:27 +0200
Use basic only regular expressions
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cvspast b/cvspast
@@ -24,7 +24,7 @@ D=$(dirname $FILE)
# current revision
CUR=$(grep "^/$F/" $D/CVS/Entries \
- | sed "s|^/$F/1\.\([0-9]\+\)/.*$|\1|")
+ | sed "s|^/$F/1\.\([0-9]*\)/.*$|\1|")
if test -z "$CUR"; then
echo "File not in CVS!" 1>&2
exit 2