<story><title>Show HN: Pup – A command-line HTML parser</title><url>https://github.com/EricChiang/pup</url></story><parent_chain></parent_chain><comment><author>nikital</author><text>While reading the examples, I was surprised by the placement of the output redirection statement:&lt;p&gt;&lt;pre&gt;&lt;code&gt;    $ pup &amp;lt; robots.html title
&lt;/code&gt;&lt;/pre&gt;
For some reason I thought that it must come last. Turns out that you can place it anywhere in the command! All these are equivalent in bash:&lt;p&gt;&lt;pre&gt;&lt;code&gt;    $ pup title &amp;lt; robots.html
    $ pup &amp;lt; robots.html title
    $ &amp;lt; robots.html pup title&lt;/code&gt;&lt;/pre&gt;</text></comment>
<story><title>Show HN: Pup – A command-line HTML parser</title><url>https://github.com/EricChiang/pup</url></story><parent_chain></parent_chain><comment><author>aw3c2</author><text>&amp;quot;I bet it&amp;#x27;s node or ruby...&amp;quot; Sees .go file extension. &amp;quot;Oh nice, I never used a Go program before!&amp;quot; But then I am supposed to &amp;#x27;$ go get github.com&amp;#x2F;ericchiang&amp;#x2F;pup&amp;#x27; to install it.&lt;p&gt;Why does everything nowadays have to come with its own package manager? I like the separation between my home directory and the &amp;quot;system packages&amp;quot;. I don&amp;#x27;t want to have to care for and update and separately backup ~&amp;#x2F;go, ~&amp;#x2F;.npm and so on and so forth.&lt;p&gt;This looks super nice, I especially like the detailed list of examples. Sorry for the rant.&lt;p&gt;edit: There are binaries in the &amp;quot;dist&amp;quot; directory, the readme just did not mention them. Thanks!</text></comment>