diff options
author | Werner Koch <wk@gnupg.org> | 1999-05-23 19:41:43 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1999-05-23 19:41:43 +0200 |
commit | b690510a65f8390e2aeba08ca9d10b0e430797d5 (patch) | |
tree | 50a920ec39645a74412aa889ad39f8537cd91029 /scripts | |
parent | mkwebpage (diff) | |
download | gnupg2-b690510a65f8390e2aeba08ca9d10b0e430797d5.tar.xz gnupg2-b690510a65f8390e2aeba08ca9d10b0e430797d5.zip |
mkwebpage
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mkwebpage | 5 |
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 |