|
 |
|
|
Archive-Name: editor-faq/sed
Posting-Frequency: irregular
Last-modified: 10 March 2003
Version: 015
Maintainer: Eric Pement (
pemente@northpark.edu)
THE SED FAQ
Frequently Asked Questions about
sed, the stream editor
CONTENTS
1. GENERAL INFORMATION
2. BASIC SED
2.2.1.2.
OS/2
2.2.1.5.
CP/M
2.2.2.2.
OS/2
3. TECHNICAL
- double/triple-space a file?
- convert DOS/Unix newlines?
- delete leading/trailing spaces?
- do substitutions on all/certain lines?
- delete consecutive blank lines?
- delete blank lines at the top/end of the file?
4. EXAMPLES
ONE-CHARACTER QUESTIONS
CHANGING STRINGS
CHANGING BLOCKS (consecutive lines)
SHELL AND ENVIRONMENT
FILES, DIRECTORIES, AND PATHS
7. KNOWN BUGS AMONG SED VERSIONS
|
|
|