]> git.lizzy.rs Git - plan9front.git/blob - rc/bin/florenate
g: revert accidental change, document missing file type
[plan9front.git] / rc / bin / florenate
1 #!/bin/rc
2 words='shit|fuck|damn|bullshit'
3 caps=`{echo $words | tr a-z A-Z}
4 {
5         if(~ $1 -n){
6                 shift 1
7                 grep -h -i $words $*
8         }
9         if not
10                 cat $*
11 } | sed 's/'^$words^'/john floren/g; s/'^$caps^'/JOHN FLOREN/g'