ref: b117d42d9bf08a2abe538ad8b3f29125db0d9ccd
parent: 0c8dc72fdfa93426f42f5b9b7de69d65b53c6626
author: aiju <devnull@localhost>
date: Fri Feb 21 17:00:34 EST 2014
added florenate
--- /dev/null
+++ b/rc/bin/florenate
@@ -1,0 +1,11 @@
+#!/bin/rc
+words='shit|fuck|damn|bullshit'
+caps=`{echo $words | tr a-z A-Z}+{+ if(~ $1 -n){+ shift 1
+ grep -h -i $words $*
+ }
+ if not
+ cat $*
+} | sed 's/'^$words^'/john floren/g; s/'^$caps^'/JOHN FLOREN/g'
--
⑨