[冒頭] | [目次] | [見出し] | [ ? ] |
This file documents version 4.1.2 of
GNU sed
, a stream editor.
Copyright © 1998, 1999, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This document is released under the terms of the GNU Free Documentation License as published by the Free Software Foundation; either version 1.1, or (at your option) any later version.
You should have received a copy of the GNU Free Documentation License along
with GNU sed
; see the file ‘COPYING.DOC’. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
There are no Cover Texts and no Invariant Sections; this text, along with its equivalent in the printed manual, constitutes the Title Page.
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 が動作する様子 | How sed works
| |
3.2 sed で行を選択する | Selecting lines with sed
| |
3.3 正規表現の構文の概要 | Overview of regular expression syntax | |
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 | |
[冒頭] | [目次] | [見出し] | [ ? ] |
この文書は新堂 安孝によって2009年9月22日にtexi2html 1.82を用いて生成されました。