I can escape the cli arguments node consumers with --
and have hi
be my arg that's used in the text node evaluates, but I can't do the same piping a value.
j at MBP in ~
$ node -e 'console.log(">", process.argv[1])' -- hi
> hi
The piping here in bash should just take stdout and add it as an arg for the command it gets piped right?
j at MBP in ~
$ echo hi | node -e 'console.log(">", process.argv[1])' --
> undefined