diff options
author | aiju <devnull@localhost> | 2014-02-21 22:00:34 +0100 |
---|---|---|
committer | aiju <devnull@localhost> | 2014-02-21 22:00:34 +0100 |
commit | b9496190d3ad2d6f2271e277b9914a585911f4db (patch) | |
tree | a30ab2214673f7f98cacc6e33fc4183fb8985c52 | |
parent | 830a9b59c94cff0e733b20d7094bddf6c7cefc74 (diff) | |
download | plan9front-b9496190d3ad2d6f2271e277b9914a585911f4db.tar.xz |
added florenate
-rwxr-xr-x | rc/bin/florenate | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/rc/bin/florenate b/rc/bin/florenate new file mode 100755 index 000000000..81cc0a1f3 --- /dev/null +++ b/rc/bin/florenate @@ -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' |