Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Object Databases The Essentials

Authors: Mary E. S. Loomis

1st Edition

020156341X, 978-0201563412

More Books

Students also viewed these Databases questions