changelog shortlog tags branches changeset files revisions annotate raw help

Mercurial > hg > plan9front / rc/bin/florenate

changeset 7243: 34f64dcbbc25
parent: 14450b21b250
author: cinap_lenrek@felloff.net
date: Fri, 17 May 2019 18:14:10 +0200
permissions: -rwxr-xr-x
description: 7l: don't hardcode 4k pagesize, use INITRND
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'