Date: Wed, 17 Apr 2002 20:33:51 -0700 (PDT) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/fold fold.1 fold.c Message-ID: <200204180333.g3I3XpD61462@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
tjr 2002/04/17 20:33:51 PDT Modified files: usr.bin/fold fold.1 fold.c Log: 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) Revision Changes Path 1.8 +15 -1 src/usr.bin/fold/fold.1 1.8 +83 -29 src/usr.bin/fold/fold.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204180333.g3I3XpD61462>