go: seq 20 | tr '\n' '\0' | ./semirandom -n 5 | tr '\0' '\n' seq 5 | tr '\n' '\0' | ./semirandom -n 20 | tr '\0' '\n' seq 20 | ./semirandom -n 5 --newline-in --newline-out seq 20 | ./semirandom -n 5 --newline-out seq 20 | ./semirandom -n 5 --no-newline-warning ./semirandom --help ! ./semirandom --nonexistent-option @echo All tests passed install: cp semirandom /usr/local/bin/. cp readline0.py python2x3.py /usr/local/lib/. clean: /bin/true