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!
Read more »Sustitution with sed
The Linux utility sed provides a great way to substitute text strings in a file. Using the "s" option and by listing the current string and the string to use as the new text allows sed to perform this task.
Read more »- Login to post comments
Line Addressing in sed
sed can select lines in a file that can be individually modified, printed or deleted. sed is able to select and number any of lines within a file.
Read more »- Login to post comments
sed (stream editor) to colorise script output
A sample on how to use the standard UNIX tool 'sed' to use colour in terminal output.
Read more »Category: Beginner Tags:
- Login to post comments
GNU sed 4.2 released
"A new version of GNU sed has been released [...] This is the first stable release of GNU sed to adopt version 3 of the GNU General Public License. It is also the first release to use gnulib to achieve maximum portability..."
Read more »Category: High End Tags:
- Login to post comments
Famous Sed One-Liners Explained, Part III
"This is the third and final part of an article on the famous sed one-liners. This part will explain sed one-liners for selective deletion of certain lines and special applications of sed. See part one for introduction of the series..."
Read more »Category: Beginner Tags:
- Login to post comments
Famous Sed One-Liners Explained, Part II
"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..."
Read more »Category: High End Tags:
- Login to post comments
Famous Sed One-Liners Explained
This article explains tens of sed one-liners from the famous sed1line.txt file. Sed is a unix program for editing text.
Read more »Category: Beginner Tags:
- Login to post comments
GNU sed user's manual - (last updated March 07, 2008)
"sed is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input from a pipeline). While in some ways similar to an editor which permits scripted edits (such as ed), sed works by making only one pass over the input(s), and is consequently more efficient.
Read more »Unix and Linux Online Dictionary Shell Script
A Unix and Linux Command Line Dictionary For Those Of Us Who Love The CLI :)
Read more »Category: Beginner Tags:
- Login to post comments
The Thesaurus Shell Script - New And Improved!
An updated version of the updated version of the Thesaurus script we put up a while ago. Many thanks :)
Read more »Category: Beginner Tags:
- Login to post comments
Using grep and sed to find and replace
This article covers two beneficial Linux tools, grep and sed. If searching for or handling text, grep and sed can increase your efficiency with Linux bash scripting and configuration files. We'll learn how to use these commands and get some helpful tips, too.
Read more »Category: High End Tags:
- Login to post comments