uspTukubaiコマンドに関する様々な資料がここにあります。

 

 

魂内検索

DOCUMENTS

COMMAND

FORUM

UEC DOCS

VIDEO

 

Alphabetical list

(Video materials in preparation)

tagjoinx(USP)

Name

tagjoinx : Joins tag data in all possible combinations

Synopsis

Usage   : tagjoinx <file1> <file2>

Version : Tue Jan  9 09:02:34 JST 2024

Edition : 1

Description

Joins all records in tag-formatted files <file1> and <file2> in all

possible combinations.

Example 1

$ cat file1

CODE NAME AGE SEX

0003 Newton 026 WOM

0005 Watson 050 MAN

0007 Nelson 042 WOM

$ cat file2

SEQ CODE A1 A2 A3

001 0003 30 50 71

001 0004 58 71 20

001 0005 82 79 16

$ tagjoinx file1 file2

CODE NAME AGE SEX SEQ CODE A1 A2 A3

0003 Newton 026 WOM 001 0003 30 50 71

0003 Newton 026 WOM 001 0004 58 71 20

0003 Newton 026 WOM 001 0005 82 79 16

0005 Watson 050 MAN 001 0003 30 50 71

0005 Watson 050 MAN 001 0004 58 71 20

0005 Watson 050 MAN 001 0005 82 79 16

0007 Nelson 042 WOM 001 0003 30 50 71

0007 Nelson 042 WOM 001 0004 58 71 20

0007 Nelson 042 WOM 001 0005 82 79 16

Example 2 Read from standard input

$ cat file2 | tagjoinx file1

$ cat file2 | tagjoinx file1 -

$ cat file1 | tagjoinx - file2