Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page 570: Exercise 17-2 contains a nonsensical/ungrammatical phrase "perform a recursive directory" #120

Closed
WraithGlade opened this issue Jan 19, 2020 · 1 comment

Comments

@WraithGlade
Copy link

@WraithGlade WraithGlade commented Jan 19, 2020

In the following text:

17-2. Improve the program in Listing 17-8 so it can take an optional second argument. If the first argument begins with a hyphen (-), the program reads all contiguous letters immediately following the hyphen and parses each letter as an option. The second argument then becomes the path to search. If the list of options contains an R, perform a recursive directory. Otherwise, don’t use a recursive directory iterator.

This phrase should probably instead be something like "perform a recursive directory [search/listing/etc]". I.e. replace the expression in [ ] with whatever your intent was.

@JLospinoso

This comment has been minimized.

Copy link
Owner

@JLospinoso JLospinoso commented Jan 21, 2020

Thanks, @WraithGlade!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.