shithub: rc

ref: 227f873058da9b5c099b6fde577d8980bad7364a
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