Why Nostr? What is Njump?
2023-11-05 23:08:30

fiatjaf on Nostr: Suppose you're using a CLI too that takes multiline input from stdin and processes it ...

Suppose you're using a CLI too that takes multiline input from stdin and processes it one line at a time, printing the results of each line sequentially.

What is the correct behavior in case one of these stdin lines causes an error? To immediately halt the execution or to print an error message to stderr and continue on the next line? Do you have an example of a CLI tool that does it right?
Author Public Key
npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6