added florenate
This commit is contained in:
parent
830a9b59c9
commit
b9496190d3
1 changed files with 11 additions and 0 deletions
11
rc/bin/florenate
Executable file
11
rc/bin/florenate
Executable 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'
|
Loading…
Reference in a new issue