Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
This is a port of OpenBSD's `rs(1)` to Linux.
`rs` reshapes tabular input into different rows and columns. It is useful
for viewing stream output in columns or for transposing simple data tables.
Build:
make
Install:
sudo make install
Run:
rs
Examples:
printf 'a\nb\nc\n' | rs
printf 'a b c\nd e f\n' | rs 2 3
Quick test:
printf '1 2 3\n4 5 6\n' | rs 3 2
Files:
rs.c main implementation
utf8.c multibyte width helper
LICENSE upstream license text