dotfiles/.bin/OLD/rc3-schedule

9 lines
285 B
Plaintext
Raw Normal View History

#!/bin/sh
curl -s "https://static.rc3.world/schedule/everything.json" \
| jq -crM '.schedule.conference.days[].rooms[][] | [.date,.start,.room,.title]' \
| sed 's/","/|/g' \
| tr -d '["]' \
| sed 's/^\(.[^T]*\)T.[^|]*\(.*\)/\1\2/g' \
| sort \
| column -s'|' -t