Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
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 files were successfully processed.
1 A usage error occurred.
2 An input file cannot be opened. The fold command continues processing the other input
files specified on the command line.
RELATED INFORMATION
Commands: expand(1), paste(1), unexpand(1).
3−154 Hewlett-Packard Company 527188-003