11 lines
208 B
Bash
Executable file
11 lines
208 B
Bash
Executable file
#!/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'
|