Closed bardiharborow closed 7 years ago
Thanks for reporting this! What version of shx are you using? This was a recent feature in shx
Ah. Stupidly I was running an older version, but this still occurs in 0.2.1. I'm running MacOS Sierra.
I see no issues:
$ shx echo 'foolish' | shx sed 's/foo/bar/'
barlish
Remember the correct sed
syntax on the newer versions of shx
(sed
was broken on older versions)
shx echo hello | shx sed 'hello' 'hola'
crashes withsed: no files given
despite thesed
command appearing to accept input from pipes.