packages/library/odin-align
o

odin-align

v498d830library

No description provided.

0 stars0 forksUnknownupdated 3 weeks ago
Open repo

align

A command-line utility that reads lines from stdin and aligns them by a common column.

By default, alignment happens at the first non-whitespace character boundary (after discarding leading whitespace). You can also pass an explicit separator string as an argument.

Usage

align [separator]

Examples

Align by a specified separator =

$ cat config.txt
foo = 1
bar_baz = 2
x = 3

$ cat config.txt | align =
foo     = 1
bar_baz = 2
x       = 3

Default alignment (first word boundary)

$ cat list.txt | align
short       value
much_longer value
x           value

Installation

make install

Build

make build
Package Info
Version
v498d830
License
Unknown
Author
@nelsonr
Type
library
Forks
0
Created
3 weeks ago
Updated
3 weeks ago
Health
maintained
has releases
has readme
has license
Activity
last 56 weeks