macroize - add ligned up '\' characters to the end of lines
macroize [-n] [-t n] [file...]
macroize copies its input, appending lined up '\' characters to the end of lines (and expanding tab characters, since otherwise it could not correctly line up the '\' characters). It acquired its name back in the days of <generic.h>, when multiline macros were frequent when simulating templates; today, it is more often used in makefiles and such (and the name really doesn't suit it any more).
The following options are supported:
- -n
- Specifies the position of the '\ character (position = n, n must be a decimal integer). Default 78.
- -t n
- Specifies the position of the tab stops. Default 8.
The following operands are supported:
- file
- In normal most, A pathname of an input file. If no file operands are specified, the standard input shall be used.
0 no error. 2 One of the input files could not be opened. 3 Hardware error on standard out.
There really should be an option for the character (or string) inserted (although I've never needed anything but '\').