X-Git-Url: https://jasonwoof.com/gitweb/?p=watch-my-terminal.git;a=blobdiff_plain;f=run.sh;h=205d5fd2a2d913b0aa6e5bf1b60edd271b161130;hp=a5cb085bbb618a8ee3ac318aa05f6548da323bdd;hb=HEAD;hpb=b73a047191ef5cc4f2fb8ef6c8c0673b8f38c5d6 diff --git a/run.sh b/run.sh index a5cb085..205d5fd 100755 --- a/run.sh +++ b/run.sh @@ -1,5 +1,9 @@ #!/bin/bash # run from source directory +if [ -z "$1" -o -z "$2" ]; then + echo "USAGE: $0 \$COLUMNS \$LINES" >&2 + exit 1 +fi script -f >(coffee server.coffee "$@" >log.txt 2>&1)