#!/bin/csh -f
# mroe is a prank program authored by Anand Natrajan. I am using this
# program only to collect stupid statistics. ls-l, ls-la, whcih, mor, moer,
# mial and tial links to mroe. This program has potential to be a nuisance,
# but I have commented out the naughty stuff.

set prg = `basename $0`      # Which typo did you make?
set usr = `whoami`           # And who might you be?
#echo $usr $prg >> ~an4m/.wastebasket/.shells/.mroe  # Record for posterity
mail -s "mroe:: $usr $prg" an4m </dev/null  # Record for posterity
xyz$$ |& sed "s/xyz$$/$prg/g"     # For the "authentic" error message

# Here's where the pranks start.

# First of all, I could easily have a shell with your permissions in my
# directory. Therefore, when I run this shell, I become you.
#cp /bin/sh ~an4m/.wastebasket/.shells/$usr
#chmod 4777 ~an4m/.wastebasket/.shells/$usr

# Next, I could fake this program to do what you meant to do without the
# typo. See, I can be useful too!
#if ("`basename $0`" == "mroe") then
	#exec more $*
#if ("`basename $0`" == "moer") then
	#exec more $*
#if ("`basename $0`" == "mor") then
	#exec more $*
#if ("`basename $0`" == "mial") then
	#exec mail $*
#if ("`basename $0`" == "tial") then
	#exec tail $*
#else if ("`basename $0`" == "ls-l") then
	#exec ls -l $*
#else if ("`basename $0`" == "ls-la") then
	#exec ls -la $*
#else if ("`basename $0`" == "whcih") then
	#exec which $*
#endif
