curl https://raw.github.com/holman/spark/master/spark > spark
chmod +x ./spark
(it hangs here)
It should print something like usage: spark <arguments>
usage: spark <arguments>
jeez, don't run it without any args then.
Actually I'm not sure; it's hanging on the read because it's expecting it to come in from a pipe if there aren't any args. I haven't really done many scripts that accept input from a pipe; anyone know the best way to handle this particular scenario?
don't hang on tty (closes #1)
Cool; got it. Thanks!