shithub: rc

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