BASH a block of bytes
Apr 26, 2017, 19:00 (0 Talkback[s])
(Other stories by Bob Mesibov)
I was preparing a slide presentation and wanted to show a block of random 8-bit bytes [...] Naturally I didn't just type out that block of text on a slide, which would have taken maybe 10 minutes, or copy and modify some byte-text I found online. Of course not. Instead I spent hours dreaming up elaborate ways to do it with BASH one-liners. Three methods are described here, but there are undoubtedly dozens of others. Feel free to suggest more elegant BASH one-liners in the comments.