shithub: riscv

ref: 8177d20fb2709ba9290dfd41308b8e5bee4e00f8
dir: /rc/bin/florenate/

View raw version
#!/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'