Category Archives: Tech Books

Regular Expressions For Regular Work

Time and again I saved a lot of time for the company I work for, the group I am part of and to myself by writing simple scripts. These scripts were written in sh/tcsh/bash, sed, awk and perl. One thing common in almost all these scripts is the usage of regular expressions either to parse the files or to get the list of files to process.

One of my favorite pattern is

find . -name 'some-regex-pattern' -print | xarg -iFILE some-shell-command

What this does is, recursively gets the list of all files from a directory that match a particular regular expression pattern and then make them available as a FILE variable and execute some shell command that contains FILE word which gets substituted with the actual file.

For any aspiring developer learning and Mastering Regular Expressions is very important. Infact, even as a development manager who needs to often analyze a set of existing files to decide on a project like introducing changes across the entire set of files or determining design change impact etc can be easily done using the regular expressions.

The book Mastering Regular Expressions is supposed to be one of the best books for learning regular expressions.

Leave a comment

Filed under Programming, Scripting, Tech Books

What is Web 2.0?

Up until recently I have been hearing about Web 2.0 but never really paid attention to understand what exactly it is. Based on many new websites and what they do, how they do, the technology they use, I thought I understood what Web 2.0 is without reading actually how it is defined. But based on a conversation at work with a collegue, I wanted to brush up on what exactly Web 2.0 is and by googling for it, found this interesting article about Web 2.0 on O’reilly Network. It helped me understanding that Web 2.0, atleast the way it is defined in the article, is not just about technology.

The Web 2.0 books @ may be useful to know further about Web 2.0

1 Comment

Filed under Tech - Tips, Tech Books, Web 2.0