2013-05-25 19:15:43 -07:00
|
|
|
#!/usr/bin/env bash
|
2013-05-26 11:09:39 -07:00
|
|
|
SRCDIR="$(readlink -f "$(dirname "$0")" )"
|
|
|
|
|
2013-05-25 19:15:43 -07:00
|
|
|
prettify() {
|
|
|
|
while IFS=$SEP read -r title torrent time; do
|
2013-05-27 22:09:18 -07:00
|
|
|
echo -E "$title"$'\n'"dl:"$'\t'"$torrent"$'\n'"at:"$'\t'"$(date -d @"$time")"
|
2013-05-25 19:15:43 -07:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2013-05-26 11:09:39 -07:00
|
|
|
. "$SRCDIR/meow.sh"
|
2013-05-25 19:15:43 -07:00
|
|
|
. config.sh
|
|
|
|
[ -e times.sh ] && { . times.sh; mv times.sh times.sh.old; }
|
|
|
|
runall | prettify
|
2013-05-27 21:18:04 -07:00
|
|
|
exit ${PIPESTATUS[0]}
|