#!/bin/bash
#ignore_hash
echo -n "Enter you file name or full directory name:"
read ANS
INPUT_FILE=$ANS
if [ -s $INPUT_FILE ]; then
while read LINE
do
case $LINE in
\#*);;
*) echo $LINE
;;
esac
done <$INPUT_FILE
else
echo "`basename $0` : Sorry $INPUT_FILE does not exist or is empty"
exit 1
fi