Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Numbers can optionally be given with '-' or '+' prefix * The number validation function allows numbers with leading garbage (regex match was only on end of string) * These values were accepted: aaa1 +aaa1 -aaa1 * We can pass a helpful error message to usage() to indicate which argument was rejected * Style: indent check_number() * Tested this by passing numbers to -n option
- Loading branch information