#Make sure there are two arguments entered on the command line.
if [ $# -ne 2 ]
echo “Error in $0 – Invalid Argument Count”
echo “Error in $0 – Need two arguments”
echo “Example Syntax: $0 input_file output_file”
#Check if a file exists
if [ ! -f $infile ]
echo “Input file [$infile] not found – Aborting”