Tuesday, June 27, 2006

Adobe Reader can READ

This time I got a mail saying the above subject. I can't believe it. I tried and it worked...
But it is only for windows. :(

Short cut keys for making Adobe to Read a pdf file for you:

Ctrl+shift+b - to hear the entire Document
Ctrl+shift+v - to hear the page
Ctrl+shift+c - to resume
Ctrl+shift+e - to stop

There are lot of ways to make people lazy... This is one among them...
Just kidding. :) :)

Joining lines in sed

I copied some text from a web page. I wanted to print the doc. It was pre aligned. When I copied it to my word processor, it was not aligned properly and it ate up lot of space. I wanted to combine the lines to a single paragraph. Since Im not much familier with the word processor, I decided to use sed. After googling, I found

sed -e :a -e '$!N;s/\n\([a-zA-Z]\)/\1/;ta' -e 'P;D'

Done...