summaryrefslogtreecommitdiffstats
path: root/bin/cat
Commit message (Collapse)AuthorAgeFilesLines
* WARNSify.ru2001-09-262-4/+4
|
* The "cat - -" feature was broken by the last commit.ru2001-09-261-5/+15
| | | | | | | Restore the code that avoided closing and reopening stdin. This is also required by POSIX. As a bonus, enable multiple stdin reads with the -benstv flags, by resetting the EOF condition on stdin.
* mdoc(7) police: fixed markup.ru2001-09-251-5/+12
|
* Give /bin/cat the ability to connect to and read unix-domain socketsdillon2001-09-152-56/+108
| | | | MFC after: 1 week
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-151-3/+1
|
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | builtins (e.g., exit, strcmp).
* Xref zcat(1).dd2001-06-181-0/+1
|
* Prepare for mdoc(7)NG.ru2000-12-151-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Use Dq Li (double-quoted literal) instead of Ic (internal command) tosheldonh2000-06-271-4/+2
| | | | | | | | mark up a sample invocation, since it is not a command internal to the described utility. Do not use Ar (argument) to mark up something which is not an argument to the utility or one of its internal commands.
* Sync us up to OpenBSD's cat.1 v1.18 and cat.c v1.9.asmodai2000-04-142-14/+84
| | | | | | | | This gets rid of a bogus cast of NULL in setbuf(). Lets us know the buffer malloc failed. Reworks the manpage a bit to make it more mdoc(7) compliant, adds examples.
* Remove unnecessary empty line.asmodai2000-04-131-3/+2
| | | | Remove trailing whitespace.
* $Id$ -> $FreeBSD$peter1999-08-273-3/+3
|
* Various spelling/formatting changes.kris1999-05-081-2/+2
| | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
* Fix minor style bugs noticed by the Bruce Filter.[tm]imp1998-09-131-4/+7
| | | | Bruce-Filter-By: bde
* Silence -Wall -W -Wkitchen-sink. Use ssize_t in preference to int,imp1998-09-111-9/+7
| | | | | make a char * const that should have been. Use new style function declaration for main. Mostly a Bruce Filter[tm] test commit.
* Restore Lite2 sccsids by removing `const'. Improve documentation a little.charnier1998-05-132-15/+11
| | | | Suggested by: Bruce
* Correct use of .Nm, .An and other cosmetics. Add rcsid. Remove unused #inc.charnier1998-05-062-13/+15
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-281-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-223-3/+3
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-143-3/+3
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Merge Lite2 mods and -Wall cleaning.steve1996-12-142-11/+10
|
* Activate LC_CTYPE locale and additionly use !isprint() for 8bit charactersache1996-09-301-2/+5
|
* Merge in the NetBSD changes to cat.c. These appear to have come fromimp1996-09-281-4/+4
| | | | | | | the 4.4 lite 2 tape as well. There are now only two diffs between NetBSD's cat and FreeBSD's cat: getopt return value is -1 on NetBSD and EOF on FreeBSD. NetBSD has added setlocale calls before anything else.
* [HISTORY]wosch1996-08-221-3/+7
| | | | | | | | | cat command appeared in Version 1 AT&T UNIX, not Version 6 Apparently the cat man page was the first written man page Obtained from: A Quarter Century of UNIX, Peter H. Salus [BUGS] fix a typo
* Fix exit status. `cat no-such-file >/dev/null' exited with status 0.bde1995-10-031-2/+7
| | | | | This has been broken since cat's own err() function was sloppily replaced by the library functions warn() and err().
* Added $Id$dg1994-09-243-0/+4
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-263-0/+377
OpenPOWER on IntegriCloud