We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 533cc8e commit 09a850aCopy full SHA for 09a850a
bin/sweep_voting_to_wp.sh
@@ -8,13 +8,14 @@ then
8
exit 1
9
fi
10
11
-date=$(date +%F)
+today=$(date +%F)
12
meeting=$1
13
+date=$2
14
15
# We could use awk -F'"' '/status="voting"/ { print $2}' xml/issue*.xml here,
16
# but the wildcard matches thousands of files, so let git grep loop over them.
17
git grep 'status="Voting"' xml | awk -F'"' '{print $2}' | while read inum
18
do
19
bin/set_status $inum WP
- sed -i "s/^<note>$date /<note>$meeting; /" xml/issue$inum.xml
20
+ sed -i "s/^<note>$today /<note>$meeting $date; /" xml/issue$inum.xml
21
done
0 commit comments