Align: align things!

align can be handy https://legacy.cs.indiana.edu/~kinzler/align/

$ head -5 access.log
22.56.17.4 - 04/Dec/2000:04:08:53 GET /pub HTTP/1.0 408 - 23146
hrl.com - 04/Dec/2000:07:17:32 GET /zen HTTP/1.0 404 272 27583
gw.kpmg.ie - 04/Dec/2000:09:37:56 GET / HTTP/1.0 200 8135 658
c1.aici.com - 04/Dec/2000:13:25:00 GET / HTTP/1.1 200 8135 8850
dabs.com - 04/Dec/2000:15:04:29 GET / HTTP/1.1 408 - 12305

$ head -5 access.log | align
22.56.17.4  - 04/Dec/2000:04:08:53 GET /pub HTTP/1.0 408 -    23146
hrl.com     - 04/Dec/2000:07:17:32 GET /zen HTTP/1.0 404 272  27583
gw.kpmg.ie  - 04/Dec/2000:09:37:56 GET /    HTTP/1.0 200 8135   658
c1.aici.com - 04/Dec/2000:13:25:00 GET /    HTTP/1.1 200 8135  8850
dabs.com    - 04/Dec/2000:15:04:29 GET /    HTTP/1.1 408 -    12305
2 Likes

Kakoune is also handy for that. :grin:

alias align="kak -f '<a-s><S>\h<ret><a-semicolon><&>'"
7 Likes