nit in README
This commit is contained in:
@@ -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
|
The error message should be printed to stderr (standard error), as shown
|
||||||
above.
|
above.
|
||||||
|
|
||||||
After ~~*any*~~ most errors, your shell simply *continue processing* after
|
After most errors, your shell simply *continue processing* after
|
||||||
printing the one and only error message. However, if the shell is invoked with
|
printing the one and only error message. However, if the shell is
|
||||||
more than one file, or if the shell is passed a bad batch file, it should exit
|
invoked with more than one file, or if the shell is passed a bad batch
|
||||||
by calling `exit(1)`.
|
file, it should exit by calling `exit(1)`.
|
||||||
|
|
||||||
There is a difference between errors that your shell catches and those that
|
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
|
the program catches. Your shell should catch all the syntax errors specified
|
||||||
|
|||||||
Reference in New Issue
Block a user