$ seq 10 | ./semirandom -n 4 --newline-in --newline-out cmd output started 2016 Sat Apr 23 06:20:33 PM EDT 1 2 3 6 5 4 9 8 10 7
$ ./semirandom --help Usage: ./semirandom -n 10 --newline-in --newline-out --no-newline-warning --help -n 10 says to use a randomizing window of 10. It is possible for values to move further than this but it's vanishingly unlikely --newline-in Read lines separated by newlines instead of nulls --newline-out Write lines separated by newlines instead of nulls --no-newline-warning Do not warn about a single null-terminated line containing newlines
You can e-mail the author with questions or comments: