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

 

 

魂内検索

DOCUMENTS

COMMAND

FORUM

UEC DOCS

VIDEO

 

Alphabetical list

(Video materials in preparation)

lcat(USP)

Name

lcat : Repeated output of file (looping cat)

Synopsis

Usage   : lcat <n> file1 file2 ...

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

Edition : 2

Description

The lcat command "cat"s the specified file <n> times.

Example 1

$ cat data

1 2 3 4

$ lcat 5 data

1 2 3 4

1 2 3 4

1 2 3 4

1 2 3 4

1 2 3 4

Example 2

You can specify multiple files. If you use "-" as the file name,

the command reads from standard input.

$ cat data

1 2 3 4

$ cat data2

a b c d

$ echo w x y z | lcat 2 data - data2

1 2 3 4

w x y z

a b c d

1 2 3 4

w x y z

a b c d