nit in README

This commit is contained in:
Remzi Arpaci-Dusseau
2021-09-27 11:46:02 -05:00
parent 7a3610f26a
commit 8bb10acec9

View File

@@ -216,10 +216,10 @@ message whenever you encounter an error of any type:
The error message should be printed to stderr (standard error), as shown
above.
After ~~*any*~~ most errors, your shell simply *continue processing* after
printing the one and only error message. However, if the shell is invoked with
more than one file, or if the shell is passed a bad batch file, it should exit
by calling `exit(1)`.
After most errors, your shell simply *continue processing* after
printing the one and only error message. However, if the shell is
invoked with more than one file, or if the shell is passed a bad batch
file, it should exit by calling `exit(1)`.
There is a difference between errors that your shell catches and those that
the program catches. Your shell should catch all the syntax errors specified