I\'m currently working on homework for a Unix course and I\'ve got everything else done but I just can\'t figure out what I\'ve done wrong here. I\'ve done this exact same s
I indented the code for you. You have a few issues:
today's or else you're starting to quote everything to the end of your file.fi to end an if statement.What type of system are you on? You should always use a real live program editor. I dope slap developers who use Notepad at my work.
if statement and your today's error.set -xv in your code. It'll print out the lines being executed and the result once the shell interpolates that line. You can even set the PS4 prompt to \$LINENO: which will print out the line number of your shell script too. This is a great debugging aid. To turn off the verbose debugging, use set +xv.