Debian Codegraph @

examples/meta.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/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 testscip-shell system . . test. -z "${1}" && catscip-shell system . . cat. metadata.txt 2> /dev/nullscip-shell filesystem . . `/dev/null`.
10 testscip-shell system . . test. x"${1}" = "xartist" && catscip-shell system . . cat. artist.txt 2> /dev/nullscip-shell filesystem . . `/dev/null`.
11 testscip-shell system . . test. x"${1}" = "xtitle" && catscip-shell system . . cat. title.txt 2> /dev/nullscip-shell filesystem . . `/dev/null`.
12 testscip-shell system . . test. x"${1}" = "xalbum" && catscip-shell system . . cat. album.txt 2> /dev/nullscip-shell filesystem . . `/dev/null`.
13
14 exit 0