#!/bin/ksh
# File: file_lister 

print -n "Do you really want to list all the files in your home directory?"
read ans

case $ans in
[Yy] | [Yy][Ee][Ss] ) print "Ok, Continuing...";;

[Nn] | no ) print "Stopping program."
print "Goodbye!"
exit 5;;

*) print "Not sure what you want to do, so stopping program."
print "Goodbye!"
exit 3;;

esac

print "Here are your files:"
find $HOME -print
