Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

fold(1) OSS Shell and Utilities Reference Manual
The following command line:
fold -w 32 az > az2; fold -w 32 AZ > AZ2; paste -d" " az2 AZ2
results in the output below:
aaaa bbbb cccc dddd eeee ffff gg AAAA BBBB CCCC DDDD EEEE FFFF GG
gg hhhh iiii jjjj kkkk llll mmmm GG HHHH IIII JJJJ KKKK LLLL MMMM
nnnn oooo pppp qqqq rrrr ssss tt NNNN OOOO PPPP QQQQ RRRR SSSS TT
tt uuuu vvvv wwww xxxx yyyy zzzz TT UUUU VVVV WWWW XXXX YYYY ZZZZ
EXIT VALUES
The fold command returns the following values:
0 All input les were successfully processed.
1 A usage error occurred.
2 An input le cannot be opened. The fold command continues processing the other input
les specied on the command line.
RELATED INFORMATION
Commands: expand(1), paste(1), unexpand(1).
3154 Hewlett-Packard Company 527188-003