ref: fa36687550487bf130ae3f589b3e0011c29bf3cf
parent: 89d16c6e15aa8566761529a5cdb97fbb10091239
author: qwx <[email protected]>
date: Fri Feb 4 14:34:31 EST 2022
add fo: every fortune ever
--- /dev/null
+++ b/bin/fo
@@ -1,0 +1,7 @@
+#!/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