summaryrefslogtreecommitdiffstats
path: root/usr.bin/fold
Commit message (Collapse)AuthorAgeFilesLines
* Add missing static keywords to fold(1)ed2011-11-061-2/+2
|
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-112-8/+0
| | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* Fix a segmentation fault in argument processing.dumbbell2010-11-061-9/+25
| | | | | | | | | | The crash was caused by a command line such as this one: # foldl -b1 PR: bin/151592 Reported by: Marcus Reid <marcus@blazingdot.com> Tested by: Marcus Reid <marcus@blazingdot.com> MFC after: 3 days
* Revert most part of 200420 as requested, as more review and polish isdelphij2009-12-131-0/+1
| | | | needed.
* Remove unneeded header includes from usr.bin/ except contributed code.delphij2009-12-111-1/+0
| | | | Tested with: make universe
* Mention what underlining is meant here.ru2006-12-151-3/+7
|
* Add cross-reference to fmt(1) and a fairly standard ENVIRONMENT section.tjr2004-08-021-2/+12
|
* Add support for multibyte characters and characters that take up moretjr2004-06-241-24/+27
| | | | than one column position.
* ANSIify function definitions.dwmalone2002-09-041-9/+5
| | | | | | | | | Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings. Reviewed by: md5
* Only advance the column position for printable characters, update manualtjr2002-06-172-4/+6
| | | | page to emphasise that we count column positions, not characters.
* Typo: use plural now that we have more than one option.tjr2002-05-251-1/+1
|
* If a file cannot be processed, try to process any remaining filestjr2002-05-251-3/+5
| | | | then exit non-zero.
* Use `The .Nm utility'charnier2002-04-191-2/+3
|
* Localize it, LC_CTYPEache2002-04-191-1/+4
|
* Add the -b option (break at byte position, not column number) and the -stjr2002-04-182-29/+97
| | | | | | | | | | | | | | | | 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)
* remove __Pimp2002-03-221-2/+2
|
* Remove leaf node WARNS?=2 (that mainly I added). This shouldmarkm2002-02-081-1/+0
| | | | help the GCC3 transition and CURRENT in general.
* Make clear that -w gets an argument. Add __FBSDID and remove unusedcharnier2001-12-122-6/+6
| | | | #include
* Add a missing word to form a complete sentence.murray2001-11-191-1/+1
| | | | | PR: docs/32084 Submitted by: setantae@submonkey.net
* Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$dd2001-06-301-1/+3
| | | | | | where necessary. Submitted by: Mike Barcroft <mike@q9media.com>
* The `file' argument is optional.dd2001-06-261-1/+1
| | | | Obtained from: OpenBSD
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* optarg and optind are declared in unistd.h.imp2000-09-041-2/+0
| | | | h_error is declared in netdb.h
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Add usage(), use err(3).charnier1997-07-081-11/+24
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-273-0/+221
OpenPOWER on IntegriCloud