Gnouc·10 anni fa·discussIt's great! Using: </dev/urandom hexdump -v -e '/1 "%u\n"' | ... save you from spawning one process.
Gnouc·11 anni fa·discussAnd you need non-standard feature `-print0` and `xargs -0` there. Better way should be `find ... -exec cmd {} +`.
Gnouc·11 anni fa·discussAnd you also want to prevent `while` loop in shell script. See http://unix.stackexchange.com/q/169716/38906 for more details.
Gnouc·11 anni fa·discussIt's said that all the example was missing quoting variables. It made all others defensive things useless.