#!/bin/sh if [ -z "$1" ]; then echo usage: rotdir regex 2>&1 exit 1; fi ed -s <