shithub: riscv

Download patch

ref: b9496190d3ad2d6f2271e277b9914a585911f4db
parent: 830a9b59c94cff0e733b20d7094bddf6c7cefc74
author: aiju <devnull@localhost>
date: Fri Feb 21 17:00:34 EST 2014

added florenate

--- /dev/null
+++ b/rc/bin/florenate
@@ -1,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'