Here's an example of logical comparisons and arithmetic in rc without them as first-class features, from a script I use to generate passwords

paste.sr.ht/~sircmpwn/cbe2b6c9

How palatable would this be to you?

Follow

@drewdevault
Improvement:

tr -dc '[:alnum:]' </dev/urandom | head -c 64

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.