1 stable release
| 1.0.0 | Apr 5, 2025 |
|---|
#8 in #delimiter
5KB
71 lines
transpose-cli
Overview
A command-line tool for transposing rows and columns from standard input.
Requirements
rustcandcargo
Installation
cargo install transpose-cli
Usage
The command-line tool is invoked using the tp command.
The default field delimiter is ,. To specify a different field delimiter, use the -d or --delimiter option.
Example:
echo -e "a,b,c\nd,e,f" | tp
Output:
a,d
b,e
c,f
Dependencies
~0.9–1.4MB
~25K SLoC