shithub: rc

ref: a5d881764e2f96d0fba934a023e0565282a5af9a
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