Skip to content

Commit

Permalink
Meta: align review-draft.sh with copyright year removal
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Jul 20, 2020
1 parent 16a79ef commit 631a32e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion review-draft.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ REVIEW_DRAFT="review-drafts/$YYYYMM.wattsi"
# Note that %B in date is locale-specific. Let's hope for English.
sed -e 's/^ <title w-nodev>HTML Standard<\/title>$/ <title w-nodev>HTML Standard Review Draft '"$(date +'%B %Y')"'<\/title>/' \
-e 's/^ <h2 w-nohtml w-nosnap id="living-standard" class="no-num no-toc">Review Draft &mdash; Published <span class="pubdate">\[DATE: 01 Jan 1901\]<\/span><\/h2>$/ <h2 w-nohtml w-nosnap id="living-standard" class="no-num no-toc">Review Draft \&mdash; Published '"$(date +'%d %B %Y')"'<\/h2>/' \
-e 's/<span class="pubyear">\[DATE: 1901\]<\/span>/'"$(date +'%Y')"'/' \
< "$INPUT" > "$REVIEW_DRAFT"
echo "Created Review Draft at $REVIEW_DRAFT"
header "Please verify that only two lines changed relative to $INPUT:"
Expand Down

0 comments on commit 631a32e

Please sign in to comment.