OSDN Git Service

GNU_coreutils: Add ja.po and snapshot versions of translated pages.
[linuxjm/coreutils.git] / release / man1 / expr.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
2 .\"*******************************************************************
3 .\"
4 .\" This file was generated with po4a. Translate the source file.
5 .\"
6 .\"*******************************************************************
7 .TH EXPR 1 "April 2010" "GNU coreutils 8.5" ユーザーコマンド
8 .SH 名前
9 expr \- evaluate expressions
10 .SH 書式
11 \fBexpr\fP \fIEXPRESSION\fP
12 .br
13 \fBexpr\fP \fIOPTION\fP
14 .SH 説明
15 .\" Add any additional description here
16 .TP 
17 \fB\-\-help\fP
18 この使い方を表示して終了する
19 .TP 
20 \fB\-\-version\fP
21 バージョン情報を表示して終了する
22 .PP
23 Print the value of EXPRESSION to standard output.  A blank line below
24 separates increasing precedence groups.  EXPRESSION may be:
25 .TP 
26 ARG1 | ARG2
27 ARG1 if it is neither null nor 0, otherwise ARG2
28 .TP 
29 ARG1 & ARG2
30 ARG1 if neither argument is null or 0, otherwise 0
31 .TP 
32 ARG1 < ARG2
33 ARG1 is less than ARG2
34 .TP 
35 ARG1 <= ARG2
36 ARG1 is less than or equal to ARG2
37 .TP 
38 ARG1 = ARG2
39 ARG1 is equal to ARG2
40 .TP 
41 ARG1 != ARG2
42 ARG1 is unequal to ARG2
43 .TP 
44 ARG1 >= ARG2
45 ARG1 is greater than or equal to ARG2
46 .TP 
47 ARG1 > ARG2
48 ARG1 is greater than ARG2
49 .TP 
50 ARG1 + ARG2
51 arithmetic sum of ARG1 and ARG2
52 .TP 
53 ARG1 \- ARG2
54 arithmetic difference of ARG1 and ARG2
55 .TP 
56 ARG1 * ARG2
57 arithmetic product of ARG1 and ARG2
58 .TP 
59 ARG1 / ARG2
60 arithmetic quotient of ARG1 divided by ARG2
61 .TP 
62 ARG1 % ARG2
63 arithmetic remainder of ARG1 divided by ARG2
64 .TP 
65 STRING : REGEXP
66 anchored pattern match of REGEXP in STRING
67 .TP 
68 match STRING REGEXP
69 same as STRING : REGEXP
70 .TP 
71 substr STRING POS LENGTH
72 substring of STRING, POS counted from 1
73 .TP 
74 index STRING CHARS
75 index in STRING where any CHARS is found, or 0
76 .TP 
77 length STRING
78 length of STRING
79 .TP 
80 + TOKEN
81 interpret TOKEN as a string, even if it is a
82 .IP
83 keyword like `match' or an operator like `/'
84 .TP 
85 ( EXPRESSION )
86 value of EXPRESSION
87 .PP
88 Beware that many operators need to be escaped or quoted for shells.
89 Comparisons are arithmetic if both ARGs are numbers, else lexicographical.
90 Pattern matches return the string matched between \e( and \e) or null; if
91 \e( and \e) are not used, they return the number of characters matched or 0.
92 .PP
93 Exit status is 0 if EXPRESSION is neither null nor 0, 1 if EXPRESSION is
94 null or 0, 2 if EXPRESSION is syntactically invalid, and 3 if an error
95 occurred.
96 .SH 作者
97 Mike Parker, James Youngman, Paul Eggert が作成した。
98 .SH バグ報告
99 expr のバグは bug\-coreutils@gnu.org に報告してください。
100 .br
101 GNU coreutils のホームページは <http://www.gnu.org/software/coreutils/> です。
102 .br
103 GNU ソフトウェアを使用するための一般的なヘルプ <http://www.gnu.org/gethelp/> にある。
104 .br
105 expr の翻訳のバグは <http://translationproject.org/team/> に報告してください。
106 .SH 著作権
107 Copyright \(co 2010 Free Software Foundation, Inc.  License GPLv3+: GNU GPL
108 version 3 or later <http://gnu.org/licenses/gpl.html>.
109 .br
110 This is free software: you are free to change and redistribute it.  There is
111 NO WARRANTY, to the extent permitted by law.
112 .SH 関連項目
113 \fBexpr\fP の完全なマニュアルは Texinfo マニュアルとして用意されている。
114 \fBinfo\fP と \fBexpr\fP のプログラムがお使いの環境に適切にインストールされているならば、
115 コマンド
116 .IP
117 \fBinfo coreutils \(aqexpr invocation\(aq\fP
118 .PP
119 を実行すると、完全なマニュアルを読むことができるはずである。