static char *sccsid
= "@(#)fold.c 4.1 (Berkeley) %G%";
* fold - fold long lines for finite output devices
* Bill Joy UCB June 28, 1977
if (argc
> 0 && argv
[0][0] == '-') {
while (*argv
[0] >= '0' && *argv
[0] <= '9')
fold
=* 10, fold
=+ *argv
[0]++ - '0';
printf("Bad number for fold\n");
if (freopen(argv
[0], "r", stdin
) == NULL
) {
ncol
= col
? col
- 1 : 0;