#line #text #text-file #join

app joinlines

CLI util for joining lines of a text file

4 releases (2 breaking)

Uses old Rust 2015

0.3.1 Feb 6, 2016
0.3.0 Feb 5, 2016
0.2.0 Feb 5, 2016
0.1.0 Feb 5, 2016

#12 in #lines

MIT/Apache

6KB

Joinlines

Joins two blocks of text, such that row 1 of the first block will be appended to row 1 of the second block and so on.

Input is read from stdin until EOF, output to stdout. The the first half of the input lines will become the first block.

Install

cargo install joinlines

Example

# cat f.txt
1
2
3
a
b
c

# joinlines ',' < f.txt
1,a
2,b
3,c

Test

make test

No runtime deps