plan9fox/rc/bin/nietzsche

8 lines
140 B
Bash
Executable file

#!/bin/rc
if(~ $#* 0)
n=`{seq 1 638 | fortune /fd/0}
if not
n=$*
for(i in $n)
cat /lib/human | sed -n '/^'$i'\./,/^$/p' | nroff | grep .