Home

2012:

11/16/12 - using-awk-and-texttopdf
So, someone might ask, "How do you extract 10 characters from a pdf from a particular line in a pdf file?"

EASY!!

First, create a text file (temp.txt) using "texttopdf". This will provide a consistent and easy to manipulate format for the data from the pdf.

Second, use "awk" to grab characters 10-15 (or whatever your choose) and pass them through a second command that grabs the correct line item.

Here is an example to create a file called "FILE" that grabs 10 character from the 2nd line of the file 44 characters:

awk '{print substr($0,44,10)}' temp.txt | awk 'NR==2' > FILE

simple,

Andy
03/08/12 - Moving Forward on Publishing my Guidebook
'While at lunch I ran into two very friendly and talkative older ladies. So, distressed properties came up and inevitably I told these nice ladies that I wrote a handbook called \"How to Succesfully Short Sell Your Home\". Of course, I have never published it. I guess it's because I would like to at least make $100 for the 30+ hours of work.

Out of nowhere the lady handed me $2!!

Well, since someone has acatually paid for the guidebook I finished formatting the book and submitted the book to Createspace (Amazon's \"build your own book service\").

I\'m a little disjointed in how much I have to charge for a physical copy of a book. To make a $1.19 profit I have to charge $5.36. So, I think I\'ll look at kindle/ebook sales as well.

-Andy