#!/usr/local/plan9/bin/rc . 9.rc if(~ $debugjuke yes) echo >[1=2] jukeput $* if(! ~ $1 list/* ''){ echo cannot Put $1 >[1=2] exit oops } file=$1 if(~ $file '') file=playlist if(test -d $jukedb/$file){ echo $1 is a directory >[1=2] exit oops } exec cat > $jukedb/$file