You're viewing a comment by Zsolt and its responses.

June 20, 2011, 19:28

Thanks for Your answer Peter, then my next question is: if I order the PDF, will I get the other (Kindle (prc||mobi)) version for free?

Comment Responses

June 20, 2011, 19:52

If you buy the book right now, I'll send you the other version for free. Otherwise, it will be available for purchase on Kindle store!

But note that it will take me some time before I convert the book into those formats!

June 20, 2011, 21:33

Fair enough! Order placed. May I recommend to try out Calibre [for conversion] which does a great job especially from HTML (or markdown) input? Or if you have a LaTeX source, there's pandoc which happily translates to several output format AFAIK.

June 20, 2011, 21:41

Payment received, and my book system just sent you the book as attachment. If you don't see it in your inbox, please check your spam folder. (If still nothing, mail me!!!).

I have LaTeX source, I am gonna check out pandoc, or just prepare the document dimensions for Kindle (from their guidelines).

June 27, 2011, 08:44

Some error reporting (but still, thanks for the great tutorial):

- @2.2: awk 'BEGIN { ORS="\n\n" }; 1' the ; is not necessary AFAIK.
- @3.4: same applies in awk 'NF { $0=++ a " : " $0 }; { print }'
- @3.7: ; before END
- @3.9-3.11,3.14: ; before END
- @4,17: "This is the first time we see the -F argument passed to Awk." Actually we had seen in @1.1.

June 28, 2011, 15:56

Thanks for finding and reporting the errors!

There is nothing wrong with having ;, but yes, you're right, and they can be left out! One char shorter. :)

@4.17 - good catch!

Internet Troll Permalink
September 05, 2012, 15:48

It is good practise to program awk in C style. I would not want to work with anyone who believes code has to be as short as possible, sacrifying the readability.

June 21, 2011, 12:40

I just bought the book. It looks very interesting. I would really like a .mobi version too.

June 24, 2011, 13:09

Thanks for buying the book! I'll send you a .mobi for free when it's out!

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "coding_257": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.