423
you are viewing a single comment's thread
view the rest of the comments
[-] pivot_root@lemmy.world 2 points 4 months ago
tr -d '\n' < /dev/random | head -c256 | LANG=C sed 's/[^\x21-\x7E]//g' | head -c3

If you can figure out how to make sed stop after it outputs a specific number of characters, the head -c256 can be dropped.

this post was submitted on 21 Jun 2024
423 points (99.1% liked)

Software Gore

3 readers
1 users here now

A community for posting software malfunctions

Deliberately bad software or bad design is not software gore, it must be something unintentional

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient and shear it



founded 1 year ago
MODERATORS