Skip to content

nelsonr/odin-align

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors