X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/0f4556f12c8f75078501c9d1338ae7648a97f975..95f51977ddc18faa2e212f30c00a39540b39f325:/usr/src/ucb/fold.c diff --git a/usr/src/ucb/fold.c b/usr/src/ucb/fold.c index 65212fbf95..f56c7fa480 100644 --- a/usr/src/ucb/fold.c +++ b/usr/src/ucb/fold.c @@ -1,4 +1,19 @@ -static char *sccsid = "@(#)fold.c 4.2 (Berkeley) 2/9/83"; +/* + * Copyright (c) 1980 Regents of the University of California. + * All rights reserved. The Berkeley software License Agreement + * specifies the terms and conditions for redistribution. + */ + +#ifndef lint +char copyright[] = +"@(#) Copyright (c) 1980 Regents of the University of California.\n\ + All rights reserved.\n"; +#endif not lint + +#ifndef lint +static char sccsid[] = "@(#)fold.c 5.1 (Berkeley) 5/31/85"; +#endif not lint + #include /* * fold - fold long lines for finite output devices @@ -14,10 +29,8 @@ main(argc, argv) { register c; FILE *f; - char obuf[BUFSIZ]; argc--, argv++; - setbuf(stdout, obuf); if (argc > 0 && argv[0][0] == '-') { fold = 0; argv[0]++;