Currently, it isn't possible to do something like cat file.txt | shx grep 'foo'. It looks like shx isn't passing stdin along to the ShellJS command (although most commands actually support this).
This is currently blocking my work on shelljs/shelljs#525 (I'd like to replace .exec('grep...') with .exec('shx grep...')).
This should be an easy fix, if someone wants to take it up. Looks like we'll only have to change these lines to call the shelljs function with a different this parameter (see the piping docs).
Currently, it isn't possible to do something like
cat file.txt | shx grep 'foo'
. It looks like shx isn't passing stdin along to the ShellJS command (although most commands actually support this).This is currently blocking my work on shelljs/shelljs#525 (I'd like to replace
.exec('grep...')
with.exec('shx grep...')
).This should be an easy fix, if someone wants to take it up. Looks like we'll only have to change these lines to call the shelljs function with a different
this
parameter (see the piping docs).