Perl script to create csv files with a pattern – Generic script.

I was having a really bad day and needed a quick solution to create some csv files. And this I…

Continue Reading →

Display the output of a command from the first line until the first instance of a regular expression.

Image via Wikipedia | perl -n -e \’print \”$_\” if 1 … /<regex>/;# This command line will display the output…

Continue Reading →

Calculations

This is the third part of a seven-part article on famous Perl one-liners. In this part I will create various…

Continue Reading →