1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
2 .\"*******************************************************************
4 .\" This file was generated with po4a. Translate the source file.
6 .\"*******************************************************************
7 .TH EXPR 1 "April 2010" "GNU coreutils 8.5" ユーザーコマンド
9 expr \- evaluate expressions
11 \fBexpr\fP \fIEXPRESSION\fP
13 \fBexpr\fP \fIOPTION\fP
15 .\" Add any additional description here
23 Print the value of EXPRESSION to standard output. A blank line below
24 separates increasing precedence groups. EXPRESSION may be:
27 ARG1 if it is neither null nor 0, otherwise ARG2
30 ARG1 if neither argument is null or 0, otherwise 0
33 ARG1 is less than ARG2
36 ARG1 is less than or equal to ARG2
42 ARG1 is unequal to ARG2
45 ARG1 is greater than or equal to ARG2
48 ARG1 is greater than ARG2
51 arithmetic sum of ARG1 and ARG2
54 arithmetic difference of ARG1 and ARG2
57 arithmetic product of ARG1 and ARG2
60 arithmetic quotient of ARG1 divided by ARG2
63 arithmetic remainder of ARG1 divided by ARG2
66 anchored pattern match of REGEXP in STRING
69 same as STRING : REGEXP
71 substr STRING POS LENGTH
72 substring of STRING, POS counted from 1
75 index in STRING where any CHARS is found, or 0
81 interpret TOKEN as a string, even if it is a
83 keyword like `match' or an operator like `/'
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.
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
97 Mike Parker, James Youngman, Paul Eggert が作成した。
99 expr のバグは bug\-coreutils@gnu.org に報告してください。
101 GNU coreutils のホームページは <http://www.gnu.org/software/coreutils/> です。
103 GNU ソフトウェアを使用するための一般的なヘルプ <http://www.gnu.org/gethelp/> にある。
105 expr の翻訳のバグは <http://translationproject.org/team/> に報告してください。
107 Copyright \(co 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL
108 version 3 or later <http://gnu.org/licenses/gpl.html>.
110 This is free software: you are free to change and redistribute it. There is
111 NO WARRANTY, to the extent permitted by law.
113 \fBexpr\fP の完全なマニュアルは Texinfo マニュアルとして用意されている。
114 \fBinfo\fP と \fBexpr\fP のプログラムがお使いの環境に適切にインストールされているならば、
117 \fBinfo coreutils \(aqexpr invocation\(aq\fP
119 を実行すると、完全なマニュアルを読むことができるはずである。