joyn

Crates.iojoyn
lib.rsjoyn
version0.4.0
sourcesrc
created_at2023-01-23 16:52:58.973303
updated_at2023-02-02 12:12:36.595861
descriptionJoin input files. Create one thread for each input file that reads a line, and write a line each time any thread reads it.
homepagehttps://github.com/tos-kamiya/joyn
repository
max_upload_size
id765995
size25,957
Toshihiro Kamiya (tos-kamiya)

documentation

README

joyn

A command-line utility to join input files. Create a thread for each input file that reads a line, and write a line each time any thread reads it.

Keywords: command line utility, pipe, parallel execution

Homepage: https://github.com/tos-kamiya/joyn/

Usage

joyn file1 file2 ...

Read input files and their content lines and output them. The order of lines in the output is "interleaved". That is, unlike the cat command, lines in the file specified earlier in the command line may be output later.

However, the expected use of joyn is to invoke the processes that run command lines and merge their output lines. In the case of bash shell, this usage can be accomplished with a command line such as:

joyn <(command line 1) <(command line 2) ...
Commit count: 0

cargo fmt