AboutWelcome to Free Software Daily (FSD). FSD is a hub for news and articles by and for the free and open source community. FSD is a community driven site where members of the community submit and vote for the stories that they think are important and interesting to them. Click the "About" link to read more...
I just finished writing my third e-book about Perl one-liners. Perl one-liners are small and awesome Perl programs that fit in a single line of code and they do one thing really well. These things include changing line spacing, numbering lines, doing calculations, converting and substituting text, deleting and printing certain lines, parsing logs, editing files in-place, and many more.
My Perl One-Liners book was just published by No Starch Press. Perl one-liners are small and awesome Perl programs that fit in a single line of code and do one thing really well. There's a 5 free review copy giveaway in comments, and I created a special coupon code FSDAILYPERL that gives you 40% off till December 20.
I just wrote my second e-book. This time it's about sed one-liners. Sed one-liners teaches you sed, the superman of Unix stream editing, through various practical examples, such as numbering lines, printing certain lines, converting text, etc. The book is 98 pages long and contains precisely 100 well explained one-liners. Have a look!
I just wrote my first e-book ever about AWK one-liners. AWK one-liners are programs that fit on one line and do one thing, such as, numbering lines, printing certain lines, finding sums, etc. The book is 50 pages long and contains 70 well explained one-liners.
Perl, never afraid of obscure shorthands, has accrued an impressive number of features that help with this use case. I'd like to share some of my favorites that you might not have heard of.
You may have heard a lot of anti-Microsoft jokes before since you can read them everywhere. However, it's pretty rare to find anti-UNIX/Linux jokes. So I would like to share with you some pretty old but still funny anti-UNIX one-liners. Enjoy!