#column #transpose #transpose-cli

app transpose-cli

Transpose rows and columns

1 stable release

1.0.0 Apr 5, 2025

#2 in #transpose

45 downloads per month

MIT license

5KB
71 lines

transpose-cli

Overview

A command-line tool for transposing rows and columns from standard input.

Requirements

  • rustc and cargo

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

~1–1.6MB
~30K SLoC