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

 

 

魂内検索

DOCUMENTS

COMMAND

FORUM

UEC DOCS

VIDEO

 

Alphabetical list

(Video materials in preparation)

taglineup(USP)

Name

taglineup : Returns the unique data in the specified field in

            ascending order

Synopsis

Usage   : taglineup [-f] <f1> <f2> ... <file>

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

Edition : 1

Description

Reads the data in the specified field of <file> and outputs unique

values as a "lineup" in ascending order.

If <file> is omitted or specified as "-" the command reads from

standard input.

Example 1

$ cat data

T1 T2 T3 T4

1 1 717300 abc1

1 2 717301 abc2

1 3 717302 abc3

1 1 717303 abc4

1 2 717304 abc5

2 0 717305 abc6

2 2 717306 abc7

2 2 717307 abc8

3 4 717308 abc9

3 4 717309 abcA

3 4 717310 abcB

$ taglineup T2 data

T2

0

1

2

3

4

Example 2

If multiple fields are specified, the specified fields are joined,

then sorted and output together as a lineup.

$ taglineup T1 T2 data

T1 T2

1 1

1 2

1 3

2 0

2 2

3 4

Example 3

You can specify continuous fields.

$ taglineup T1/T2 data

T1 T2

1 1

1 2

1 3

2 0

2 2

3 4