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

Ch03 typo in code for curl and pup #133

Open
lobaluna opened this issue Aug 14, 2022 · 0 comments
Open

Ch03 typo in code for curl and pup #133

lobaluna opened this issue Aug 14, 2022 · 0 comments

Comments

@lobaluna
Copy link

lobaluna commented Aug 14, 2022

This is the line that contains the typo:

$ curl -s "https://en.wikipedia.org/wiki/List_of_windmills_in_Friesland" |
> pup -n 'table.wikitable tr'

The greater-than (>) sign must go off, according to pup version (0.4.0) in image container pulled today in Manjaro:

$ curl -s "https://en.wikipedia.org/wiki/List_of_windmills_in_Friesland" | > pup -n 'table.wikitable tr'


(I found a similar paragraph later on, and I see that what is intended  to use is / for changing line; so the > represents the command prompt in a new line. And that's the error, because it is a pipe | sign what's in the book…)

(Also works the alternative command that I wrote first.)

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

No branches or pull requests

1 participant