Changeset 1412 for lang/shellscript
- Timestamp:
- 11/14/07 01:13:46 (6 years ago)
- Files:
-
- 1 modified
-
lang/shellscript/ustplayer/ustplayer (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/shellscript/ustplayer/ustplayer
r1281 r1412 3 3 GFLASHPLAYER=/usr/bin/gflashplayer 4 4 5 if [ "x$1" == "x" ]; then 5 CHANNEL="$1" 6 if [ "x$CHANNEL" == "x" ]; then 6 7 echo "usage: `basename $0` [channel]" 7 8 exit 8 9 fi 10 if [ ! "`echo $CHANNEL | grep ^http`" ]; then 11 CHANNEL="http://ustream.tv/channel/$CHANNEL" 12 fi 9 13 10 14 TMPFILE=`mktemp $$.XXXXXX` 11 curl -s " http://ustream.tv/channel/$1" | grep "usc\|channel" > $TMPFILE15 curl -s "$CHANNEL" | grep "usc\|channel" > $TMPFILE 12 16 13 17 USC=""
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)