summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-05-23 19:41:43 +0200
committerWerner Koch <wk@gnupg.org>1999-05-23 19:41:43 +0200
commitb690510a65f8390e2aeba08ca9d10b0e430797d5 (patch)
tree50a920ec39645a74412aa889ad39f8537cd91029 /scripts
parentmkwebpage (diff)
downloadgnupg2-b690510a65f8390e2aeba08ca9d10b0e430797d5.tar.xz
gnupg2-b690510a65f8390e2aeba08ca9d10b0e430797d5.zip
mkwebpage
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mkwebpage5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/mkwebpage b/scripts/mkwebpage
index 2f5e0aead..1e626dbcc 100755
--- a/scripts/mkwebpage
+++ b/scripts/mkwebpage
@@ -11,8 +11,9 @@ cd $HOME/pub
extract_date () {
# This strange construct is to speed up things. Grouping a "s" and a "q"
# does not work. Anyway we should use awk instead.
- sed '/^.*\$\[I\]d:.*\$.*$/q' $1 |
- sed -n 's!^.*\$\[I\]d: [^ ]\+ [^ ]\+ \([0-9]*\)/\([0-9]*\)/\([0-9]*\) [^ ]\+ \([^ ]\+\).*$!\1-\2-\3 \4!p'
+ # Have to quote the I from $Id so that CVS does not expand it
+ sed '/^.*\$[I]d:.*\$.*$/q' $1 |
+ sed -n 's!^.*\$[I]d: [^ ]\+ [^ ]\+ \([0-9]*\)/\([0-9]*\)/\([0-9]*\) [^ ]\+ \([^ ]\+\).*$!\1-\2-\3 \4!p'
}
# We have to edit most files