#!/bin/sh
case `basename $0` in
	[A-Z]*) really='';;
	[a-z]*) really='1';;
esac
for f
do	if [ -d $f ]
	then
		echo $0 Directory not modified: $f
	else
		mv $f $f.sav
		cp $f.sav $f
		if [ -n "$really" ];then rm -f $f.sav; fi
	fi
done
exit 0
#
# This script takes a list of file names and changes their  ownership  to  the
# current user.  It is done, of course, by renaming and copying, so a new file
# is actually created and the old one unlinked.  The new file  will  have  the
# current  timestamp  on  most systems (except where cp preserves timestamps),
# and will be a singly-linked file with the same permissions as the old.
#
# Caveats:  You must have write permission in the appropriate directories  for
# this to work.  If you don't you may get warnings, depending on the rm and cp
# commands on your system, or you may not.
#
# This script does not work for directories.
