Some good and nice open source books worth downloading.

There is a nice article here bby Alastair Otter. He has given links to different Books that are worth reading.  These include:





to name a few, along with others. Its worth reading the article. While you are at it don\’t forget the gems known as comments.

Also note that my there is also a book in sourceforge called LinkBat. Quite nice book. There is also a html version hosted on my desktop here.

Multiple search in vim

I was looking at a log file and needed to highlight multiple search items to make the logs more readable. I got into multiple threads suggesting various cryptic vim commands but I was in no mood to remember them. So, I finally hit this.

This is a cool vim script which you can use to highlight multiple search patter. You can simply add a search term by doing

\":S\"earch <pattern>

By default it is configured to have four colors but you can change that. Also when you want to reset the search you can simply do:




\"PerlThis is the third part of a seven-part article on famous Perl one-liners. In this part I will create various one-liners for calculations. See part one for introduction of the series.

Famous Perl one-liners is my attempt to create “perl1line.txt” that is similar to “awk1line.txt” and “sed1line.txt” that have been so popular among Awk and Sed programmers.

The article on famous Perl one-liners will consist of at least seven parts:

  • Part I: File spacing.
  • Part II: Line numbering.
  • Part III: Calculations (this part).
  • Part IV: String creation. Array creation.
  • Part V: Text conversion and substitution.
  • Part VI: Selective printing and deleting of certain lines.
  • Part VII: Release of perl1line.txt.

After I’m done explaining all these one-liners, I’ll publish an ebook. Everyone who’s subscribed to my blog will get a free copy! Subscribe now!

The one-liners will make heavy use of Perl special variables. A few years ago I compiled all the Perl special variables in a single file and called it Perl special variable cheat-sheet. Even tho it’s mostly copied out of perldoc perlvar, it’s still handy to have in front of you, so print it.

Read more…………