Reading from stdin
kolypto opened this issue · comments
Mark commented
Currently it's not possible to read from stdin:
$ docker logs tasks 2>&1 | ./jlv -
Something went wrong: os: open -: no such file or directory.
A workaround is to use bash process substitution:
$ ./jlv <(docker logs tasks 2>&1)
Maksym Kryvchun commented
another way around is to use tee
.
docker logs tasks | tee tasks.logs
jlv tasks.logs
btw, it's planned to be implemented! thanks for the issue!
Maksym Kryvchun commented
included in v0.5.1