From b9496190d3ad2d6f2271e277b9914a585911f4db Mon Sep 17 00:00:00 2001 From: aiju Date: Fri, 21 Feb 2014 22:00:34 +0100 Subject: [PATCH] added florenate --- rc/bin/florenate | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 rc/bin/florenate diff --git a/rc/bin/florenate b/rc/bin/florenate new file mode 100755 index 000000000..81cc0a1f3 --- /dev/null +++ b/rc/bin/florenate @@ -0,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'