Command line filter for collating the top and bottom halves of a file
❯ cat foo.txt
1
2
3
a
b
c
❯ collate < foo.txt
1
a
2
b
3
c
❯ collate < foo.txt | uncollate
1
2
3
a
b
c
To install from GitHub:
cargo install -f --git https://github.com/jez/collate-rs
To install from a clone:
git clone git@github.com:jez/collate-rs.git
make install
# All the tests:
make test
# One specific test:
make test/06-six.txt.collate.exp