1234567891011121314151617181920 |
- #!/bin/sh
- # https://mro.name/radio-privatkopie
- #
- cd "$(dirname "${0}")/.." || exit 1
- readonly bc="../../stations/${1}.xml"
- readonly YES=0
- readonly NO=1
- grep -E 'Zündfunk.+ name="DC\.title"' \
- "${bc}" > /dev/null \
- && exit $YES
- grep -E 'Nachtmix.+ name="DC\.title"' \
- "${bc}" > /dev/null \
- && exit $YES
- exit $NO
|