⚡tephen on Nostr: nak req -k 7 -l 0 --stream wss://relay.damus.io | jq -r '.content' works as intended ...
nak req -k 7 -l 0 --stream wss://relay.damus.io | jq -r '.content'
works as intended
nak req -k 7 -l 0 --stream wss://relay.damus.io | jq -r '.content'
| while IFS= read -r line; do
echo "Latest: $line"
done
and nothing is ever sent to $line
nak outputs to stdout does it not? Works fine without --stream, but something about that...need to figure out how it writes that output.
Has anyone gotten piped output from #nak to work (whilst in event stream mode)
#bash #asknostr
works as intended
nak req -k 7 -l 0 --stream wss://relay.damus.io | jq -r '.content'
| while IFS= read -r line; do
echo "Latest: $line"
done
and nothing is ever sent to $line
nak outputs to stdout does it not? Works fine without --stream, but something about that...need to figure out how it writes that output.
Has anyone gotten piped output from #nak to work (whilst in event stream mode)
#bash #asknostr