2 ms·
Doesn't quite work on my mac :/
by Nursie 8y ago
Doesn't quite work on my mac :/
- mojuba 8y agoGot it! This works on macOS. It encodes the same characters in hex UTF-8: while true; do printf "\xe2\x95\xb$((1 + ($RANDOM & 1)))"; done
- Nursie 8y agoExcellent work! Thankyou, that's awesome and very fast....
- kazinator 8y agoThe obligatory pure ASCII slash-backslash version: while true; do printf $(printf "\\\\u%04x" $((47 + 45 * ($RANDOM % 2)))); done