/mp

mp - mini padding., pads UTF-8 text to the nearest multiple of 4 (default) or 5 bytes using 'X'.

Primary LanguageGo

Usage: mp [-p 5] < infile > outfile

This program pads UTF-8 text to the nearest multiple of 4 (default) or 5 bytes using 'X'.
It reads from stdin and writes to stdout, allowing use in pipelines.

The program is intended for usage with my polyenc and cce program.