expr

EXPR(1)                         ã¦ã¼ã¶ã¼ã³ãã³ã                         EXPR(1)



åå
       expr - å¼ãè©ä¾¡ãã

æ¸å¼
       expr EXPRESSION
       expr OPTION

説æ
       --help ãã®ä½¿ãæ¹ã表示ãã¦çµäºãã

       --version
              ãã¼ã¸ã§ã³æå ±ã表示ãã¦çµäºãã

       EXPRESSION ã®å¤ãæ¨æºåºåã«åºåãã¾ããä¸è¨ã¯åªåé ä½ã°ã«ã¼ãæ¯ã«ç©ºç½è¡
       ã§åºåã£ã¦æé ã«ä¸¦ã¹ã¦ãã¾ãã EXPRESSION ã¯ä»¥ä¸ã®éãã§ãã

       ARG1 | ARG2
              ARG1 ã null ã§ã 0 ã§ããªãå ´å㯠ARG1ãããã§ãªããã° ARG2

       ARG1 & ARG2
              両æ¹ã®å¼æ°ã null ã§ã 0 ã§ããªãå ´å㯠ARG1ãããã§ãªããã° 0

       ARG1 < ARG2
              ARG1 ã ARG2 ããå°ãã

       ARG1 <= ARG2
              ARG1 ã ARG2 ããå°ãããçãã

       ARG1 = ARG2
              ARG1 ã ARG2 ã¨çãã

       ARG1 != ARG2
              ARG1 ã ARG2 ã¨çãããªã

       ARG1 >= ARG2
              ARG1 ã ARG2 ãã大ãããçãã

       ARG1 > ARG2
              ARG1 ã ARG2 ãã大ãã

       ARG1 + ARG2
              ARG1 㨠ARG2 ã®è¶³ãç®

       ARG1 - ARG2
              ARG1 㨠ARG2 ã®å¼ãç®

       ARG1 * ARG2
              ARG1 㨠ARG2 ã®æãç®

       ARG1 / ARG2
              ARG1 ã® ARG2 ã«ããå²ãç®

       ARG1 % ARG2
              ARG1 ã® ARG2 ã«ããå²ãç®ã®ãã¾ã

       STRING : REGEXP
              STRING ã«ãããæ£è¦è¡¨ç¾ REGEXP ã«ãããã¿ã¼ã³ç§å

       match STRING REGEXP
              STRING : REGEXP ã¨åã

       substr STRING POS LENGTH
              STRING ã®é¨åæååãè¿ãã POS 㯠1 ããå§ã¾ã

       index STRING CHARS
              STRING ãã CHARS ãè¦ã¤ãã£ãå ´æãè¿ãã

              è¦ã¤ãããªããã° 0

       length STRING
              STRING ã®é·ã

       + TOKEN
              TOKEN ã 'match' ã®ãããªãã¼ã¯ã¼ãã '/' ã®

              ãããªæ¼ç®åã§ãã£ã¦ããæååã¨ãã¦è§£éãã

       ( å¼ ) å¼ã®å¤

       å¤ãã®æ¼ç®åã¯ã·ã§ã«ã«æ¸¡ãããã«ã¨ã¹ã±ã¼ããããå¼ç¨ç¬¦ã§å²ãå¿è¦ãããã¾ãã æ¯è¼ã¯
       ARG ãããããæ°å¤ã§ããã°å¤§ããã«ããããã以å¤ã®å ´åã«ã¯è¾æ¸é ã«
       ããè¡ããã¾ãããã¿ã¼ã³ç§åã¯ã \( 㨠\) ã®éã ãããã¯ãã«æåã«ä¸è´ãã æååãè¿ãã¾ãã \(
       㨠\) ã使ããªãå ´åã¯ä¸è´ããæåæ°ã 0 ãè¿ãã¾ãã

       çµäºã¹ãã¼ã¿ã¹ã¯ EXPRESSION ã null, 0 以å¤ã®å ´å㯠0ã EXPRESSION ã
       null, 0 ã®å ´å㯠1ã EXPRESSION ãæ§æã¨ã©ã¼ã®å ´å㯠2ã
       ãã®ä»ã®ã¨ã©ã¼ãçºçããå ´å㯠3 ã§ãã

       GNU coreutils ã®ãªã³ã©ã¤ã³ãã«ã:
       <http://www.gnu.org/software/coreutils/> expr ã®ç¿»è¨³ã«é¢ãããã°ã¯
       <http://translationproject.org/team/ja.html> ã«é£çµ¡ãã¦ãã ããã
       å®å¨ãªææ¸ã¯ <http://www.gnu.org/software/coreutils/expr> ã«ããã¾ãã ã‐
       ã¼ã«ã«ã§ã¯ info '(coreutils) expr invocation' ã§åç§ã§ãã¾ãã

ä½è
       ä½è Mike Parkerã James Youngmanãããã³ Paul Eggertã

èä½æ¨©
       Copyright © 2016 Free Software Foundation, Inc.  ã©ã¤ã»ã³ã¹ GPLv3+: GNU
       GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
       This is free software: you are free to change and redistribute it.
       There is NO WARRANTY, to the extent permitted by law.

é¢é£é ç®
       expr ã®å®å¨ãªããã¥ã¢ã«ã¯ Texinfo ããã¥ã¢ã«ã¨ãã¦æ´åããã¦ãããããã info ããã³
       expr ã®ããã°ã©ã ãæ£ããã¤ã³ã¹ãã¼ã«ããã¦ãããªãã°ãã³ãã³ã

              info expr

       ã使ç¨ããã¨å®å¨ãªããã¥ã¢ã«ãèªããã¨ãã§ããã¯ãã ã



GNU coreutils                      2016å¹´2æ                           EXPR(1)