#!/bin/rc if(~ $1 '') { echo usage $0 mountpoint >[1=2] exit usage } sed s,mountpoint,$1,g << 'EOF' type is text wdir matches '(/man)?mountpoint(/.*)? data matches '/([.a-zA-Z¡-￿0-9_/\-]*[a-zA-Z¡-￿0-9_/\-])('$addr')?' arg isfile mountpoint/$1 data set $file attr add addr=$3 plumb to edit plumb client window $editor EOF