Commit Graph

17 Commits

Author SHA1 Message Date
joerg 60dc5170cc static + __dead 2011-09-04 20:24:59 +00:00
ahoka b05ff95e20 Modify to support multibyte characters. 2009-07-21 01:35:02 +00:00
ahoka 4a0fb013e5 Increase last_space only after we wrote the line, so we
don't end up with a trailing space at the end of almost every line.
2008-10-29 01:31:09 +00:00
lukem 98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
itojun 4f228a52dc safer use of realloc 2003-10-16 06:45:22 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
mjl 88a0bc30c2 Un-__P and ANSIfy. 2000-09-08 12:57:28 +00:00
mjl 8de1362608 Use errx(), add usage(). 2000-09-08 12:55:36 +00:00
frueauf c8ab21f6d4 Fix fold not to break line too early in word boundary (-s) mode.
Provided in pr 6956 by Wolfgang Helbig.
1999-02-07 12:14:32 +00:00
mrg 5e451f4248 fix compiler warnings on the sparc. minor KNF. 1997-10-20 10:20:52 +00:00
lukem c5a3c5334f WARNSify, fix .Nm usage 1997-10-18 15:02:15 +00:00
jtc af8b52d6db Sync with 4.4lite2 1995-09-01 01:42:41 +00:00
jtc 2ddbb97f0f #include <unistd.h>, so getopt(), optarg, opterr, optind, and optopt
declarations can be removed from <stdlib.h>.
1993-10-13 18:33:45 +00:00
jtc b1c840c324 Document the fact that fold is POSIX.2 compliant.
Update usage string.
1993-08-28 04:30:00 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
jtc a02c58f5a6 Make POSIX 1003.2 (D11.2) compliant by adding -s (split at blank) and
-b (count bytes, not column positions) flags.
1993-07-19 23:22:09 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00