freebsd-skq/usr.bin/fold
tjr b7829d60fe Add the -b option (break at byte position, not column number) and the -s
option (try to break at word bounaries) for SUSv3 conformance.

Partially based on the NetBSD version, with the following changes:
 - style(9)
 - break on <blank>s, not spaces, per POSIX (and GNU)
 - when looking for last space on line, search backwards instead of
   forwards; less comparisons needed this way.
 - use LINE_MAX macro instead of a magic number and a comment saying it is
   LINE_MAX.

PR:		36245
Reviewed by:	mike
Obtained from:	NetBSD (partially)
2002-04-18 03:33:51 +00:00
..
fold.1 Add the -b option (break at byte position, not column number) and the -s 2002-04-18 03:33:51 +00:00
fold.c Add the -b option (break at byte position, not column number) and the -s 2002-04-18 03:33:51 +00:00
Makefile