- Properly formatted Step comments are important
- So I have created a shell script which will check your homework file
- This script looks for each of the required Step comments
- It prints an error message if it cannot find them
- To run this script, go to the directory ~ghoffman/it244_test
- The name of the script is step_comment_check.sh
- The script requires two arguments
$ ~ghoffman/it244_test/step_comment_check.sh
Usage: step_comment_check.sh USERNAME HW_NUMBER
- your Unix username and the homework number
$ ./step_comment_check.sh ghoffman 4
# Step 1
# Step 2
# Step 3
# Step 4
# Step 5
# Step 6
# Step 7
# Step 8
# Step 9
# Step 10
- If your script is missing a comment you will get an error message
$ ./step_comment_check.sh ghoffman 3
# Step 1
# Step 2
Could not find # Step 3
Could not find # Step 4
Could not find # Step 5
...