What is Nostr?
⚡tephen
npub1lqu…qaf3
2025-02-02 12:16:44

⚡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
Author Public Key
npub1lqulkec5tx98yv7snk759tuzejtcr5865468fuvyrtuskhynpyush5qaf3