danchoi / kindlefodder

Bring web docs to the Kindle
MIT License
366 stars 45 forks source link

Missing content in The Art of Unix Programming #20

Open mlafeldt opened 11 years ago

mlafeldt commented 11 years ago

Hi @danchoi,

While reading the mobi version on my Kindle, I noticed that some bits were missing from http://www.faqs.org/docs/artu/ch01s06.html

In the original it says:

Doug McIlroy, the inventor of Unix pipes and one of the founders of the Unix tradition, had this to say at the time [McIlroy78]:

(i) Make each program do one thing well. To do a new job, build afresh rather than complicate old programs by adding new features.

(ii) Expect the output of every program to become the input to another, as yet unknown, program. Don't clutter output with extraneous information. Avoid stringently columnar or binary input formats. Don't insist on interactive input.

(iii) Design and build software, even operating systems, to be tried early, ideally within weeks. Don't hesitate to throw away the clumsy parts and rebuild them.

(iv) Use tools in preference to unskilled help to lighten a programming task, even if you have to detour to build the tools and expect to throw some of them out after you've finished using them.

He later summarized it this way (quoted in A Quarter Century of Unix [Salus]):

However, points (i) to (iv) are completely missing in the mobi.

I guess the Ruby parser has to be extended to parse this HTML too:

<div class="blockquote"><blockquote class="blockquote"><p>(i) Make each program do one thing well. To do a new job, build
afresh rather than complicate old programs by adding new
features.</p><p>(ii) Expect the output of every program to become the input to
another, as yet unknown, program. Don't clutter output with
extraneous information. Avoid stringently columnar or binary input
formats. Don't insist on interactive input.</p><p>(iii) Design and build software, even operating systems, to be
tried early, ideally within weeks. Don't hesitate to throw away the
clumsy parts and rebuild them.</p><p>(iv) Use tools in preference to unskilled help to lighten a
programming task, even if you have to detour to build the tools and
expect to throw some of them out after you've finished using
them.</p></blockquote></div>
mlafeldt commented 11 years ago

I guess this is a duplicate of #11. Didn't see it when posting the issue.

bmbeverst commented 10 years ago

@mlafeldt Hey, I was able to manually fix the mobi. Take a look at the other issue.

danchoi commented 10 years ago

Sorry I've been MIA -- I've been busy

On Sat, May 17, 2014 at 3:59 PM, Brooks notifications@github.com wrote:

@mlafeldt https://github.com/mlafeldt Hey, I was able to manually fix the mobi. Take a look at the other issue.

— Reply to this email directly or view it on GitHubhttps://github.com/danchoi/kindlefodder/issues/20#issuecomment-43422679 .

bmbeverst commented 10 years ago

Without you there would have been nothing for me to fix, I am really enjoying it.

Thank you!

danchoi commented 10 years ago

You're welcome and thank you