What is Nostr?
R. L. Dane :debian: :openbsd:🧉 /
npub1e9d…mggg
2024-03-23 19:09:21
in reply to nevent1q…w4lg

R. L. Dane :debian: :openbsd:🧉 on Nostr: npub15lrw0…qp2vs npub1cj22q…l2fze Since I'm a sucker for pedagogy: The function ...

npub15lrw098mn4fnsv9j7e4538479q04xran9u8tv595nf68y7tk6wqq2qp2vs (npub15lr…p2vs) npub1cj22qv2lhm4g5mgme49k33hz97pam08ca2nzapr8yhv4xyjgnmfs5l2fze (npub1cj2…2fze)

Since I'm a sucker for pedagogy:

The function line declares a function

The if line branches whether or not the first parameter "$1" evaluates to a number (that's the fancy grep command). If so, call sleep with parameter times 60, otherwise just call sleep by itself (which prints an error)
Author Public Key
npub1e9d8rhae2fzmlv3n5hxw5mdukqadmgz3yg2px9z22j3qv9j655hs27mggg