| www.delorie.com/gnu/docs/sed/sed_13.html | search |
![]() Buy the book! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Here are some sed scripts to guide you in the art of mastering
sed.
Some exotic examples:
4.1 Centering Lines 4.2 Increment a Number 4.3 Rename Files to Lower Case 4.4 Print bashEnvironment4.5 Reverse Characters of Lines
Emulating standard utilities:
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 |