join

JOIN(1)                     General Commands Manual                    JOIN(1)



åå
       join - äºã¤ã®ãã¡ã¤ã«ãèªã¿ããã£ã¼ã«ããå±éãªè¡ãçµåãã

æ¸å¼
       join [-a 1|2] [-v 1|2] [-e empty-string] [-o field-list...] [-t char]
       [-j[1|2] field] [-1 field] [-2 field] file1 file2
       join {--help,--version}

説æ
       ãã®ææ¸ã¯ããã¡ã³ããã³ã¹ããã¦ããªãã®ã§ãä¸æ£ç¢ºã»ä¸å®å¨ ãªå¯è½æ§ããããç¾å¨ã¯
       texinfo ææ¸ãæ£å¼ãªæå ±ã¨ãªã£ã¦ããã

       ãã®ããã¥ã¢ã«ãã¼ã¸ã¯ GNU ç join ã«ã¤ãã¦è¨è¿°ãããã®ã§ããã join 㯠file1
       ã®ä¸ã«ããè¡ã¨ file2 ã®ä¸ã«ããè¡ã調ã¹ã join
       ãã£ã¼ã«ããä¸è´ãã¦ãããã¢ãæ¨æºåºåã«è¡¨ç¤º ããããã¡ã¤ã«åã®ã©ã¡ãã (両æ¹ã¯é§ç®)
       㯠`-' ã®ããã«æå®ãããã¨ã ã§ãããã®å ´åã¯æ¨æºå¥åãç¨ããããã file1 㨠file2
       ã¯ããããã join ãã£ã¼ã«ãã®æé ã«ã½ã¼ããã¦ããå¿è¦ããã (ã½ã¼ãã¯
       æ°å¤é ã§ã¯ãªããæååé ã«è¡ããã¨)ã -t
       ãªãã·ã§ã³ãæå®ããªãå ´åã¯ãè¡ã®åé ã«ãã空ç½æååã¯ç¡è¦ãã¦ã½ã¼ã ãã¦ãããããã¯
       sort ã« -b ãªãã·ã§ã³ãæå®ãããã¨ã«ãã£ã¦å®è¡ã§ããã

       ããã©ã«ãã®åä½ã¯ä»¥ä¸ã®éãã join ãã£ã¼ã«ãã¯ããããã®è¡ã®åé ãã£ã¼
       ã«ãã«ãªããå¥åã«ããã¦ã¯ããã£ã¼ã«ãã¨ã¯ã²ã¨ã¤ä»¥ä¸ã®ç©ºç½ (blank) ã§
       åºåãããé¨åãæããè¡åé ã®ç©ºç½æååã¯ç¡è¦ãããã
       åºåã«ããã¦ã¯ããã£ã¼ã«ãã¯ã¹ãã¼ã¹ã§åºåããããåºåã®ããããã®è¡ã¯ join ãã£ã¼ã«ãã
       file1 ã®æ®ãã®ãã£ã¼ã«ãããã㦠file2 ã®æ®ãã®ãã£ã¼ã«ãããæ§æãããã

   ãªãã·ã§ã³
       -a file-number
              é常ã®åºåã«å ãããã¡ã¤ã« file-number (1 ã¾ã㯠2)
              ã®ãã¡ã§ãã¢ã«ãªããªãã£ãè¡ãåºåããã

       -e string
              空ã®åºåãã£ã¼ã«ã (å¥åã«ãã£ã¼ã«ãããªãã£ãå ´å) ã string ã§ç½®ãæããã

       -1, -j1 field
              ãã¡ã¤ã« 1 ã®ãã£ã¼ã«ã field (æ£ã®æ´æ°) ã«åºã¥ã㦠join åä½ãè¡ãã

       -2, -j2 field
              ãã¡ã¤ã« 2 ã®ãã£ã¼ã«ã field (æ£ã®æ´æ°) ã«åºã¥ã㦠join åä½ãè¡ãã

       -j field
              -1 field -2 field.  ã¨åãã

       -o field-list...
              ããããã®åºåè¡ã field-list ã®ãã©ã¼ãããã«åºã¥ãã¦æ§æããã field-list ä¸‐
              ã®è¦ç´ ã¯ããã¡ã¤ã«çªå· (1 ã¾ã㯠2)ãããªãªãããã£ã¼ã«ãçªå· (æ£ã®
              æ´æ°) ãããªãããã©ã¼ãããä¸ã®ããããã®è¦ç´ ã¯ã³ã³ãã空ç½ã§åºåãã ã²ã¨ã¤ã®
              -o ãªãã·ã§ã³ã®å¾ã«è¤æ°ã® field-list ãæå®ãããã¨ãã§ããã -o
              ã¨ã¨ãã«ä¸ãããããã¹ã¦ã® field-list ã¯çµåããã¦åºåãããã

       -t char
              å¥åããã³åºåã®ãã£ã¼ã«ãåºåãã¨ã㦠char ãç¨ããã

       -v file-number
              é常ã®åºåã®ä»£ããã«ããã¡ã¤ã« file-number (1 ã¾ã㯠2)
              ã®ãã¢ã«ãªããªãã£ãè¡ã表示ããã

       ããã« GNU ç join
       ãã²ã¨ã¤ã®å¼ãæ°ã®ã¿ã§å®è¡ãããå ´åã«ã¯ã以ä¸ã®ãªãã·ã§ã³ãèªèãããã

       --help 使ãæ¹ã«é¢ããã¡ãã»ã¼ã¸ãæ¨æºåºåã«è¡¨ç¤ºããå®è¡æåãè¿ãã¦çµäºããã

       --version
              ãã¼ã¸ã§ã³æå ±ãæ¨æºåºåã«è¡¨ç¤ºãã¦çµäºããã



FSF                           GNU Text Utilities                       JOIN(1)