Hello, I am new to the Bash scripting language, and was given a tutorial page on how to setup a file. However I am trying to use cygwin to run this file and it is not working.
./averagetime.sh: line 1: $: command not found
Enter Dictorinary File Text
./averagetime.sh: line 6: read: `dict
': not a valid identifier
Enter Grid Name
./averagetime.sh: line 8: read: `grid
': not a valid identifier
./averagetime.sh: command substitution: line 14: syntax error near unexpected token `$($RUNNING_TIME + $RUNNING_TIME1 + $RUNNING_TIME2 + $RUNNING_TIME3 + $RUNNING_TIME4)/5'
./averagetime.sh: command substitution: line 14: `expr ($($RUNNING_TIME + $RUNNING_TIME1 + $RUNNING_TIME2 + $RUNNING_TIME3 + $RUNNING_TIME4)/5)'
Average time for 5 runs is:
The standard is (as I have pointed out before) defined by the Open Group. It is not a "standard of the week". It was updated last year; the previous update was a decade or so earlier.
When talking about a standard, it helps to refer to the document that defines that standard, not to something that may or may not be correct.