added florenate

This commit is contained in:
aiju 2014-02-21 22:00:34 +01:00
parent 830a9b59c9
commit b9496190d3

11
rc/bin/florenate Executable file
View file

@ -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'