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

 

 

魂内検索

DOCUMENTS

COMMAND

FORUM

UEC DOCS

VIDEO

 

Alphabetical list

(Video materials in preparation)

loopx(USP)

Name

loopx  : Join by all possible combinations.

Synopsis

Usage   : loopx <file1> <file2> ...

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

Edition : 1

Description

Joins each record in multiple files by creating rows containing all

possible combinations of all records. The output is in the order that

the files were specified. In other words, all records in <file1> are

combined with all records in <file2> and the resulting records are combined

with <file3> and so on.

Example 1

Join data1 data2 data3 by all possible combinations.

$ cat data1

1 Agriculture

2 Industry

$ cat data2

A Tokyo

B Osaka

$ cat data3

Sunny

Rain

$ loopx data1 data2 data3

1 Agriculture A Tokyo Sunny

1 Agriculture A Tokyo Rain

1 Agriculture B Osaka Sunny

1 Agriculture B Osaka Rain

2 Industry A Tokyo Sunny

2 Industry A Tokyo Rain

2 Industry B Osaka Sunny

2 Industry B Osaka Rain

Note

All records in <file1> are combined with all records in <file2>

and the resulting records are combined with <file3> and so on.