added florenate

front
aiju 2014-02-21 22:00:34 +01:00
parent 830a9b59c9
commit b9496190d3
1 changed files with 11 additions and 0 deletions

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'