Open main menu

CDOT Wiki β

Changes

T1042 CLI Script

34 bytes added, 23:18, 4 September 2016
no edit summary
# Give a datespec on the command line, or no args for today.
#
# CTyler 2015-05-13, updated after wiki move 2016-08-05
#
echo "T1042 schedule for $(date +%Y-%m-%d -d "$*"):"
curl httphttps://zenitwiki.senecaccdot.onsenecacollege.ca/wiki/index.php/Meeting_Room_T1042 2>/dev/null|
egrep "</?td|</?tr"|tr -d "\012"|
sed "s|</tr><tr>|</tr>\n<tr>|g"|