www.delorie.com/gnu/docs/sed/sed.html   search  
 
Buy the book!


sed, a stream editor

[Top] [Contents] [Index] [ ? ]

sed, a stream editor

@insertcopying

1. Introduction  
2. Invocation  
3. sed Programs  sed programs
4. Some Sample Scripts  Some sample scripts
5. GNU sed's Limitations and Non-limitations  Limitations and (non-)limitations of GNU sed
6. Other Resources for Learning About sed  Other resources for learning about sed
7. Reporting Bugs  Reporting bugs

A. Extended regular expressions  egrep-style regular expressions

Concept Index  A menu with all the topics in this manual.
Command and Option Index  A menu with all sed commands and command-line options.

--- The detailed node listing ---

sed Programs:
3.1 Selecting lines with sed  
3.2 Overview of Regular Expression Syntax  Overview of regular expression syntax
3.3 Where sed Buffers Data  Where sed buffers data
3.4 Often-Used Commands  Often used commands
3.5 The s Command  sed's Swiss Army Knife
3.6 Less Frequently-Used Commands  Less frequently used commands
3.7 Commands for sed gurus  
3.8 Commands Specific to GNU sed  Commands specific of GNU sed
3.9 GNU Extensions for Escapes in Regular Expressions  Specifying special characters

Examples:
4.1 Centering Lines  
4.2 Increment a Number  
4.3 Rename Files to Lower Case  
4.4 Print bash Environment  
4.5 Reverse Characters of Lines  
4.6 Reverse Lines of Files  Reverse lines of files
4.7 Numbering Lines  Numbering lines
4.8 Numbering Non-blank Lines  Numbering non-blank lines
4.9 Counting Characters  Counting chars
4.10 Counting Words  Counting words
4.11 Counting Lines  Counting lines
4.12 Printing the First Lines  Printing the first lines
4.13 Printing the Last Lines  Printing the last lines
4.14 Make Duplicate Lines Unique  Make duplicate lines unique
4.15 Print Duplicated Lines of Input  Print duplicated lines of input
4.16 Remove All Duplicated Lines  Remove all duplicated lines
4.17 Squeezing Blank Lines  Squeezing blank lines


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 2003   by The Free Software Foundation     Updated Jun 2003