I get a "broken pipe" error when piping the output of htmlq to a command which doesn't allow htmlq to finish, such as head:
RUST_BACKTRACE=1 curl --silent https://nixos.org | htmlq -a href a | head -n 1
/
thread 'main' panicked at src/main.rs:90:69:
called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I get a "broken pipe" error when piping the output of htmlq to a command which doesn't allow htmlq to finish, such as
head
: