OSDN Git Service

Convert release and draft pages to UTF-8.
[linuxjm/jm.git] / manual / gnumaniak / draft / man1 / expand.1
1 .\" You may copy, distribute and modify under the terms of the LDP General
2 .\" Public License as specified in the LICENSE file that comes with the
3 .\" gnumaniak distribution
4 .\"
5 .\" The author kindly requests that no comments regarding the "better"
6 .\" suitability or up-to-date notices of any info documentation alternative
7 .\" is added without contacting him first.
8 .\"
9 .\" (C) 2002 Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
10 .\"
11 .\"     GNU expand man page
12 .\"     man pages are NOT obsolete!
13 .\"     <ragnar@ragnar-hojland.com>
14 .\"
15 .\" Japanese Version Copyright (c) 2000 NAKANO Takeo all rights reserved.
16 .\" Translated Sun 12 Mar 2000 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
17 .\" Updated & Modified Sat Jan 24 12:36:40 JST 2004
18 .\"         by Yuichi SATO <ysato444@yahoo.co.jp>
19 .\"
20 .TH EXPAND 1 "7 October 2002" "GNU textutils 2.1"
21 .\"O .SH NAME
22 .\"O \fBexpand\fR \- convert tabs to spaces
23 .SH 名前
24 expand \- タブをスペースに変換する
25 .\"O .SH SYNOPSIS
26 .SH 書式
27 .B expand
28 .RB [ \-i ]
29 .RB [ \-\fITAB1\fR[\fB,\fITAB2... ]
30 .RB [ "\-t \fITAB1\fR[\fB,\fITAB2..." ]
31 .RB [ \-\-initial ]
32 .RB [ \-\-tabs=\fITAB1\fR[\fB,\fITAB2... ]
33 .RI [ FILE... ]
34
35 .BR expand " [" \-\-help "] [" \-\-version ]
36 .\"O .SH DESCRIPTION
37 .SH 説明
38 .\"O .B expand
39 .\"O writes each 
40 .\"O .I FILE
41 .\"O to standard output, replacing tabs with the appropiate number of spaces.  If
42 .\"O .I FILE
43 .\"O is omitted or if it is a
44 .\"O .RB ` \- ',
45 .\"O standard input is used for reading.
46 .B expand
47 は指定された
48 .I FILE
49 の内容を標準出力に書き込む。
50 その際、タブ文字を適当な数のスペースに置き換える。
51 .I FILE
52 が 1 つも与えられないと標準入力から読み込む。また
53 .I FILE
54
55 .RB ` \- '
56 だった場合には、そのファイルには標準入力が用いられる。
57
58 .\"O By default, \fBexpand\fR converts all tabs to spaces.  It preserves
59 .\"O backspace characters in the output; they decrement the column count for
60 .\"O tab calculations.  The default action is equivalent to `-t 8' (set tabs
61 .\"O every 8 columns).
62 デフォルトでは
63 .B expand
64 はすべてのタブをスペースに変換する。バックスペース文字は出力に保存され、
65 タブの計算における桁数を減らす作用をもたらす。デフォルトの動作は `-t 8'
66 が指定された場合と同じ (タブを 8 桁おきに設定する)。
67 .\"O .SH OPTIONS
68 .SH オプション
69 .TP
70 .B \-\fITAB1\fR[\fB,\fITAB2...\fR]\fB, \-t \fITAB1\fR[\fB,\fITAB2...\fR]\fB, \-\-tabs=\fITAB1\fR[\fB,\fITAB2...\fR]
71 .\"O If only one tab stop is given, set the tabs \fITAB1\fR spaces apart
72 .\"O (default is 8).  Otherwise, set the tabs at columns \fITAB1\fR, \fITAB2\fR,
73 .\"O \fI...\fR (numbered from 0), and replace any tabs beyond the last
74 .\"O tabstop given with single spaces.  If the tabstops are specified
75 .\"O with the \fB\-\-tabs\fR option, they can be separated by blanks as well as
76 .\"O by commas.  Short form \fB\-\fITAB...\fR is deprecated.
77 タブストップが 1 つだけ与えられた場合には、
78 タブを \fITAB1\fP おきに設定する (デフォルトは 8)。
79 その他の場合は、タブを \fITAB1\fP 桁、
80 \fITAB2\fP 桁... に設定し (桁数は 0 から数え始める)、
81 与えられた数以降のタブはスペース文字 1 つに置き換える。タブストップを
82 .B \-\-tabs
83 オプションで指定する際には、それぞれの間は空白またはコンマで区切る。
84 短縮形式 \fB\-\fITAB...\fR は推奨されない。
85 .TP
86 .B \-i, \-\-initial
87 .\"O Only convert initial tabs (those that precede all non-space or non-tab
88 .\"O characters) on each line to spaces.               
89 それぞれの行の先頭タブ (initial tabs) のみをスペースに変換する。
90 「先頭タブ」とは、行先頭から続くタブ文字の集まりのこと。
91 .TP
92 .B "\-\-help"
93 .\"O Print a usage message on standard output and exit successfully.
94 標準出力に使用方法のメッセージを出力して正常終了する。
95 .TP
96 .B "\-\-version"
97 .\"O Print version information on standard output then exit successfully.
98 標準出力にバージョン情報を出力して正常終了する。
99 .\"O .SH NOTES
100 .SH 注意
101 .\"O Report bugs to bug-textutils@gnu.org.
102 .\"O .br
103 .\"O Man page by Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
104 プログラムのバグについては bug-textutils@gnu.org に報告してください。
105 .br
106 man ページは Ragnar Hojland Espinosa
107 <ragnar@ragnar-hojland.com> が作成しました。