Extract all urls from the last firefox sessionstore.js file used.

Image via Wikipedia Some taken from commandlinefu. What all the below commands are doing is basically that the url: is…

Continue Reading →

Recursive Regular Expressions

The regular expressions we use in our daily lives are actually not that “regular.” Most of the languages support some…

Continue Reading →

Quickly search and replace string with Regular expression in multiple files using perl

for i in *; do perl -p -w -e \’s/a(.*)b.*/d$1e/g\’  $i > temp/$i; done for i in *; do perl…

Continue Reading →