Merge: niti: teach the interpreter to read from the standard input
authorJean Privat <jean@pryen.org>
Fri, 3 Jun 2016 17:17:00 +0000 (13:17 -0400)
committerJean Privat <jean@pryen.org>
Fri, 3 Jun 2016 17:17:00 +0000 (13:17 -0400)
commit215b88245a6ee198f8dad7636282765283a10377
tree5f47189023157376bdb09f1dc12b0b468d3b9b32
parentc6dccf078f269f9dcf43daa069c26f3a188e9c9b
parent4affec20c0b8ef024938339c16dc75077dcb0cd4
Merge: niti: teach the interpreter to read from the standard input

With `-` the program is read from stdin.

~~~
$ echo H4sIAN7lUFcAAysoyswrUVDySM3JyVfiAgCjfiaWDgAAAA== | base64 -d | gunzip | nit -
Hello
~~~

Pull-Request: #2159
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>