#!/bin/sh

if [ "x$1" = "x" ]; then
	echo "usage: remove-file FILENAME [SAVEFILE]"
	echo
	echo "print the command to remove FILENAME and put them"
	echo "in SAVEFILE if present"
	exit 1;
fi

if [ "x$2" != "x" ]; then
	echo "rm -f $1" >>$2
else
	echo "rm -f $1"
fi
