Question
Line 116 syntax error: unexpected end of file. How do I solve this? Below is the end of the file where this would be occuring:
Line 116 syntax error: unexpected end of file. How do I solve this? Below is the end of the file where this would be occuring:
usage
exit 1
esac
shift
done
if [ "$interactive" = "1" ]; then
echo "interactive is on"
echo "output file = $filename"
# write_page > $filename
if [ "$interactive" = "1" ]; then
response=
echo -n "Enter name of output file [$filename] > "
read response
if [ -n "$response" ]; then
filename=$response
fi
if [ -f $filename ]; then
echo -n "Output file exists. Overwrite? (y/n) > "
read response
if [ "$response" != "y" ]; then
echo "Exiting program."
exit 1
fi
fi
fi
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started