Commit Graph

28 Commits

Author SHA1 Message Date
wiz 67717ff652 Remove trailing whitespace. 2012-05-12 15:17:15 +00:00
reed 42346787b7 Change or add history. I checked the 1bsd archives and this first
appeared in 1BSD (before it was known as 1BSD). I looked at code and
later sccs history to confirm.  In the case of rewritten code, we are
not consistent in manpages indicating that history.
2012-05-12 14:52:57 +00:00
reed 420833fa21 Clarify description of -s switch. 2012-05-12 14:42:12 +00:00
wiz 4285677d6b Add argument in options table. Resize to fit. 2011-09-15 09:40:57 +00:00
wiz 826f78a987 Mark file argument(s) as being optional (as does the usage message
from fold.c, which is correct); minor spelling correction; note
`width' as being an argument to `-w'; reference fmt(1) in `SEE
ALSO' section.

From Snader_LB.
2011-09-15 09:39:57 +00:00
joerg 60dc5170cc static + __dead 2011-09-04 20:24:59 +00:00
joerg 15a1cc61c0 Fix section order. Use .Ex -std 2010-05-14 16:54:48 +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
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +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
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +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