From b690510a65f8390e2aeba08ca9d10b0e430797d5 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sun, 23 May 1999 17:41:43 +0000 Subject: mkwebpage --- scripts/mkwebpage | 5 +++-- 1 file 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 -- cgit v1.2.3