SED FAQ - Frequently asked questions
This document is a list of Frequently Asked Questions (with the hopefully correct answers) about sed.
1.1 Where do I get this document?
1.2 Where do I send questions, corrections etc. about this document?
2.1 What is sed?
2.2 Why should I use it?
2.3 What do i need to do to prepare myself for life with Sed?
2.4 Can you explain the basic syntax for mutiple command processing?
2.5 How does sed work?
2.6 How do i substitute a object for another object in my file(s)?
2.7 What are the replacement meta-characters?
2.8 How do i delete a line?
2.9 How do i append before the regular expression line?
2.10 How do i insert after the regular expression line?
2.11 How do i change a specific pattern in lines?
2.12 How do i transform certain characters throughout a document to completely different characters?
2.13 How might one utilize the print command to advantage?
2.14 Where might the next command come into play?
2.15 Is there a method to call files much like libraries so that one file can grab from another files resources as needed?
2.16 How might one use the 'w' command to put it to good use?
Obtaining and installing sed
3.1 What is the latest version of sed?
3.2 May I legally use sed?
3.3 What about commercial use of sed?
3.4 Where can I obtain sed?
3.5 How do I install it?
3.6 Where do I get help?
3.7 Are there any versions for other operating systems than Linux?
sed advanced Usage
4.1 How does one use the [N]ext command?
4.2 What is the difference between the [d]elete command and the [D]elete command?
4.3 What is so different about the [P]rint command and is there a example of it's use?
4.4 How do i use [hH]old, [gG]et, and [x]change?
4.5 How do i change the case of text from lower to UPPER?
4.6 How do i convert straight ascii text to html format so i can read in a standards based browser?
5.1 Are there any known problems with sed?
5.2 Does sed cause problems in larger programs?
6.1 What known versions are there of sed?
6.2 How widespread is use of sed?
Atoms Streamed by dreamwvr.com