summaryrefslogtreecommitdiff
path: root/.config/newsboat/urls
blob: 8dce19c598bac1064cdc99ce86fe94d94cc0285c (plain)
1
2
3
https://archlinux.org/feeds/news/
http://keygenmusic.net/rss.php
https://bbs.archlinux.org/extern.php?action=feed&tid=260286&type=atom
d='n11' href='#n11'>11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
#!/bin/sh
# DATE From To

while getopts cfF:t:T: opt; do
	case $opt in
		c) tz_from="Asia/Shanghai";;
		f) tz_from="$(tzselect)";;
		F) tz_from="$OPTARG";;
		# one extra ',' at the end will not let `for tz in ...` loop one extra time?
		t)	for i in $(seq "$OPTARG"); do
				tz_to="$(tzselect),$tz_to"
			done;;
		T) tz_to="$OPTARG,$tz_to";;
		\?) exit 1;;
	esac
done
shift $((OPTIND-1))