fusch.online

git / lists / casts

git.fusch.online/ircolumn

Format irc messages as whitespace wrapped columns
git clone git://git.fusch.online/ircolumn
Log / Files / Readme / Issues

ircolumn

format irc messages as whitespace wrapped columns

The expected message format is:

$ cat irc.txt
1583177170 -!- tutti(~tutti@jiv3m495z45ttkhp.online) has joined #git
1583177491 <tutti> Give me a long line fuschbot!
1583177659 <fuschbot> Anything longer than an individual point may be considered a line and lines can continue indefinitely.
1583177870 <tutti> ...

The generated output will be:

$ ircolumn -q -n 16 -w 76 irc.txt
20:31 <tutti>     Give me a long line fuschbot!
20:34 <fuschbot>  Anything longer than an individual point may be
                  considered a line and lines can continue indefinitely.
20:37 <tutti>     ...

Installation

$ make
$ sudo make install

Usage

$ ircolumn irc.txt
$ tail -f irc.txt | ircolumn -n 16 -w 76