Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
watch-my-terminal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b7eaef
)
run.sh: complain if not passed width/height
master
author
Jason Woofenden
<jason@jasonwoof.com>
Mon, 24 Aug 2015 15:54:55 +0000
(11:54 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Mon, 24 Aug 2015 15:54:55 +0000
(11:54 -0400)
run.sh
patch
|
blob
|
history
diff --git
a/run.sh
b/run.sh
index
a5cb085
..
205d5fd
100755
(executable)
--- 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)