shithub: rc

ref: 1d259c06594034a05bb204bff8abca2564032258
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