Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's a big difference in turning a page the size of your hand when you are already holding the book and trying to click a micro button the size of a word when you use the arrow keys to move the browser window.

I'll just wait until the exact same information appears on a single page. I was expressing sincere regret because I liked the first page, but I absolutely will not read paginated articles.

Also: you're obviously irritated by my grumbling, but grumbling about it is just a massive load of hypocrisy, so please realize I'm not going to be taking any of your comments all that seriously.




I agree with your sentiment. Hence:

  ~ $ curl -s 'http://www.realworldtech.com/arm64/'{1..5}'/' --compressed > a.html; open a.html
("open" is OS X-specific; "nautilus-open" might have a similar function on Linux or something.) Interestingly, that website seems to deliver gzip-compressed output no matter what you request.


I'm ashamed I didn't think of this :) Thanks, it worked exactly as expected.


xdg-open for any FreeDesktop-compliant system (basically any Linux since about 2000).


That is clever. What is the {1..5} syntax called? I am trying to figure out what the zsh equivalent is.


Relevant terms are "brace expansion" and "range". And, um, at least for me, the command I wrote works verbatim in zsh. (I think zsh is supposed to be bash-compatible like that.) Brace expansion works like this (in zsh and bash):

  % echo {1..5}
  1 2 3 4 5
  % echo meh{1..5}
  meh1 meh2 meh3 meh4 meh5
  % echo {1..5}{1..5}
  11 12 13 14 15 21 22 23 24 25 31 32 33 34 35 41 42 43 44 45 51 52 53 54 55
  % echo {1,2,4}{1,3,9}
  11 13 19 21 23 29 41 43 49
I have observed one difference in brace expansion: {a..f} -> "a b c d e f" in bash, but "{a..f}" in zsh. Curious. Oh well.


In Chrome: typing Ctrl+F <space>2<space> <Esc> <Enter> will get you to the next page, no need to use the mouse if you're concerned about moving your hands.


Although I ended up reading the 'curl'ed version, I wanted to say this is also a decent solution. Cheers




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: