File: igawk.1

package info (click to toggle)
manpages-ja 0.5.0.0.20120606-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 25,964 kB
  • sloc: perl: 161; makefile: 116
file content (52 lines) | stat: -rw-r--r-- 1,749 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.\"
.\" Japanese Version Copyright (c) 2001 Yuichi SATO
.\"         all rights reserved.
.\" Translated Mon Jun 25 22:07:43 JST 2001
.\"         by Yuichi SATO <ysato@h4.dion.ne.jp>
.\"
.TH IGAWK 1 "Nov 3 1999" "Free Software Foundation" "Utility Commands"
.SH 名前
igawk \- インクルードファイルを使う gawk
.SH 書式
\fBigawk\fP [ all \fIgawk\fP options ] \fB\-f\fP \fIprogram\-file\fP [ \fB\-\^\-\fP ] file
\&.\^.\^.
.br
\fBigawk\fP [ all \fIgawk\fP options ] [ \fB\-\^\-\fP ] \fIprogram\-text\fP file .\^.\^.
.SH 説明
\fIigawk\fP は \fIgawk\fP(1)  に「インクルードファイル」の機能を追加する簡単なシェルスクリプトである。
.PP
\fIigawk\fP で使う AWK プログラムは \fIgawk\fP と同じであるが、 カレントディレクトリまたは検索パスのディレクトリにあるファイル
\fBgetopt.awk\fP をインクルードするために、
.RS
.sp
\fB@include getopt.awk\fP
.sp
.RE
のような行をプログラムに書くことができる。
.SH オプション
AWK 言語と \fIgawk\fP がサポートするオプションについての完全な説明は、 \fIgawk\fP(1)  を参照すること。
.SH 例
.nf
\fBcat << EOF > test.awk
@include getopt.awk\fP
.sp
\fBBEGIN {
	while (getopt(ARGC, ARGV, "am:q") != \-1)
		\&.\^.\^.
}
EOF\fP
.sp
\fBigawk \-f test.awk\fP
.fi
.SH 関連項目
\fIgawk\fP(1)
.PP
\fIEffective AWK Programming\fP, Edition 1.0, published by the Free Software
Foundation, 1995.
.SH 著者
Arnold Robbins (\fBarnold@skeeve.com\fP).