cat with grep

This commit is contained in:
Gerrit Linnemann 2015-11-10 21:45:11 +01:00
parent 6ccbf51452
commit 1745e19a61

View File

@ -6,13 +6,13 @@
MY_PATH="$(pwd)" MY_PATH="$(pwd)"
. $MY_PATH/bin/_inc/def_text_coloring.sh . $MY_PATH/bin/_inc/def_text_coloring.sh
stream2play=`cat /tmp/kitchenradio.m3u` stream2play=`cat /tmp/kitchenradio.m3u | grep http`
### PRORGAM ### PRORGAM
echo echo
echo "${BGre}Start playing ...${RCol}" echo "${BGre}Start playing $stream2play ...${RCol}"
echo echo
mplayer -slave -quiet $stream2play mplayer -slave -quiet $stream2play