Debian Codegraph @

examples/meta.sh

raw symbols SCIP
1 #!/bin/sh
2
3 # Minimalist example metadata script that has the behavior required by
4 # ezstream.
5 #
6 # From the current working directory, return the contents of metadata.txt,
7 # artist.txt, and title.txt.
8
9 test -z "${1}" && cat metadata.txt 2> /dev/null
10 test x"${1}" = "xartist" && cat artist.txt 2> /dev/null
11 test x"${1}" = "xtitle" && cat title.txt 2> /dev/null
12 test x"${1}" = "xalbum" && cat album.txt 2> /dev/null
13
14 exit 0