[Top] | [Contents] | [Index] | [ ? ] |
@insertcopying
1. はじめに | Introduction | |
2. 呼び出し | Invocation | |
3. SEDプログラム | sed programs | |
4. いくつかの見本スクリプト | Some sample scripts | |
5. GNU sed の制限と制限されていないこと | Limitations and (non-)limitations of GNU sed | |
6. sed を学ぶ際のその他の情報源 | Other resources for learning about sed | |
7. バグの報告 | Reporting bugs | |
A. 拡張正規表現 | egrep -style regular expressions | |
概念の索引 | A menu with all the topics in this manual. | |
コマンドとオプションの索引 | A menu with all sed commands and
command-line options. | |
--- 詳細なノードリスト --- | ||
sed プログラム: | ||
3.1 sed で行を選択する | Selecting lines with sed | |
3.2 正規表現の構文の概要 | Overview of regular expression syntax | |
3.3 sed がデータをバッファリングする場所 | Where sed buffers data | |
3.4 よく使用されるコマンド | Often used commands | |
3.5 s コマンド | sed 's Swiss Army Knife | |
3.6 あまり使用されないコマンド | Less frequently used commands | |
3.7 sed のベテランプログラマのためのコマンド | Commands for sed gurus | |
3.8 GNU sed 特有のコマンド | Commands specific of GNU sed | |
3.9 正規表現でのエスケープに関するGNUの拡張 | Specifying special characters | |
例: | ||
4.1 行の中央揃え | ||
4.2 数字を増加させる | ||
4.3 ファイル名を小文字に変更する | ||
4.4 bash の環境変数の出力 | ||
4.5 行の文字を反転する | ||
4.6 ファイルの行を反転する | Reverse lines of files | |
4.7 行の番号付け | Numbering lines | |
4.8 空白行以外に番号を付ける | Numbering non-blank lines | |
4.9 文字を数える | Counting chars | |
4.10 単語を数える | Counting words | |
4.11 行を数える | Counting lines | |
4.12 最初の行を出力する | Printing the first lines | |
4.13 最後の行を出力する | Printing the last lines | |
4.14 重複した行を一行にする | Make duplicate lines unique | |
4.15 入力の重複している行を出力する. | Print duplicated lines of input | |
4.16 すべての重複行を削除する | Remove all duplicated lines | |
4.17 空白行をまとめる | Squeezing blank lines | |