I am having the worst time trying to figure out this simple little script and I'm about to go nuts.
I have to use csh to create this script for a class and the problem I run into is checking my number range, just validating that the number is between 1 and 9 inclusive. I tried:
But it gives me a file redirection error message and I understand why, my brain is just quitting on me in trying to figure out how to fix it. Any help would be greatly appreciated!
I will remember that for next time, I actually just figured it out >.<
Figured out that brackets and parentheses are not interchangeable and that I had my $number on the wrong side of the inequality, hence the redirecting error message.
Thanks though, and I will definitely remember to post the entire thing plus error messages next time