shithub: rc

ref: deda28504aef3df61fed73bfe89b0db875a46004
dir: /bin/fo/

View raw version
#!/bin/rc
f=/dev/null
if(test -e $home/lib/fortune)
	f=$home/lib/fortune
if(! ~ $1 -f)
	f=($f /lib/^(dougfacts greg ken rob rsc terry theo troll uriel))
cat $f | fortune /fd/0