#!/bin/sh
#	Rm file...
# Remove files by appending '-' to their names.  This is done recursively, of
# course, resulting in a series of files with lots of hyphens on their names.
# See also Bl, Bp, Cp, Ln, Mv.  This has a bug for long filenames that isn't
# important on BSd systems, but is fatal on Sys/V.

for f
do	if [ -f $f -o -d $f ]
	then	if [ -f $f'-' ]
		then	$0 $f'-'
		fi
		mv $f $f'-'
	fi
done
