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...
In this article I’d like to explain the top one-liners from the commandlinefu.com. It’s a user-driven website where people get to choose the best and most useful shell one-liners.
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.
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.
"...This is going to be a three-part article in which I will explain every single one-liner in Mr. Pement’s compilation. Each part will explain around 20 one-liners. If you follow closely then the explained examples will turn you into a great Awk programmer..."
"This is the third and final part of a three-part article on the famous Awk one-liners. This part will explain Awk one-liners for selective printing and deletion of certain lines. See part one for introduction of the series..."
"This is the second part of a three-part article on the famous sed one-liners. This part will explain sed one-liners for selective printing of certain lines. See part one for introduction of the series..."
"This is the second part of a three-part article on the famous Awk one-liners. This part will explain Awk one-liners for text conversion and substitution..."