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.
align [separator]
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
make installmake build