Sed/index
From Get docs
sed, a stream editor
Table of Contents
- 1 Introduction
- 2 Running sed
- 3
sed
scripts - 4 Addresses: selecting lines
- 5 Regular Expressions: selecting text
- 5.1 Overview of regular expression in
sed
- 5.2 Basic (BRE) and extended (ERE) regular expression
- 5.3 Overview of basic regular expression syntax
- 5.4 Overview of extended regular expression syntax
- 5.5 Character Classes and Bracket Expressions
- 5.6 regular expression extensions
- 5.7 Back-references and Subexpressions
- 5.8 Escape Sequences - specifying special characters
- 5.9 Multibyte characters and Locale Considerations
- 5.1 Overview of regular expression in
- 6 Advanced
sed
: cycles and buffers - 7 Some Sample Scripts
- 7.1 Joining lines
- 7.2 Centering Lines
- 7.3 Increment a Number
- 7.4 Rename Files to Lower Case
- 7.5 Print
bash
Environment - 7.6 Reverse Characters of Lines
- 7.7 Text search across multiple lines
- 7.8 Line length adjustment
- 7.9 Reverse Lines of Files
- 7.10 Numbering Lines
- 7.11 Numbering Non-blank Lines
- 7.12 Counting Characters
- 7.13 Counting Words
- 7.14 Counting Lines
- 7.15 Printing the First Lines
- 7.16 Printing the Last Lines
- 7.17 Make Duplicate Lines Unique
- 7.18 Print Duplicated Lines of Input
- 7.19 Remove All Duplicated Lines
- 7.20 Squeezing Blank Lines
- 8 GNU
sed
’s Limitations and Non-limitations - 9 Other Resources for Learning About
sed
- 10 Reporting Bugs
- Appendix A GNU Free Documentation License
- Concept Index
- Command and Option Index
Next: Introduction, Up: (dir) [Contents][Index]
GNU sed
This file documents version 4.8 of
GNU sed
, a stream editor.
Copyright © 1998–2020 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License”.
• Introduction: | Introduction | |
• Invoking sed: | Invocation | |
• sed scripts: | sed scripts
| |
• sed addresses: | Addresses: selecting lines | |
• sed regular expressions: | Regular expressions: selecting text | |
• advanced sed: | Advanced sed : cycles and buffers
| |
• Examples: | Some sample scripts | |
• Limitations: | Limitations and (non-)limitations of GNU sed
| |
• Other Resources: | Other resources for learning about sed
| |
• Reporting Bugs: | Reporting bugs | |
• GNU Free Documentation License: | Copying and sharing this manual | |
• 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. |
Next: Introduction, Up: (dir) [Contents][Index]