wiz
94eea247e1
Sort sections, drop unnecessary .Pps.
2001-12-20 20:01:15 +00:00
wiz
3ebcdc5e43
Whitespace nits.
2001-12-20 19:31:48 +00:00
lukem
678a800f83
change from WARNS?=1 to WARNS?=2 for bin/
2001-11-03 13:40:30 +00:00
wiz
bb2c669165
Some KNF, via patch by Petri Koistinen in private mail.
2001-09-16 12:12:13 +00:00
wiz
aaec222d9c
Some style improvements. [Nearly] #13592 by Petri Koistinen.
2001-07-29 22:40:57 +00:00
mjl
73ef471d4f
Un-__P and ANSIfy
2001-01-03 14:32:40 +00:00
mjl
0c55b7011c
Sync usage w/ options, remove bogus cast.
2001-01-03 14:29:24 +00:00
kleink
2caf6aacdd
For commands and utilities, use EXIT STATUS rather than RETURN VALUES as
...
appropriate (and documented in mdoc(7)).
2000-09-04 07:30:07 +00:00
hubertf
1cb54f68ac
Add 'RETURN VALUE' section header.
2000-08-28 02:11:04 +00:00
jwise
643a9478fa
Use .At v1 macro instead of spelling out AT&T Unix version 1.
2000-08-02 15:42:24 +00:00
christos
a32679938b
don't use the "f" flag to fopen when -f is not specified (from Chuck Cranor)
2000-07-31 02:49:28 +00:00
simonb
51ee9dc68d
Don't declare 'extern opt*' getopt variables.
2000-04-14 05:52:56 +00:00
christos
8b1a601327
Add a -f fflag that makes sure that we only try to read from plain files
...
so that there is no chance to block.
2000-01-15 01:13:15 +00:00
abs
b1b361cb53
Slightly modified small fixes from Richard Rauch in PR bin/9150
2000-01-09 15:56:37 +00:00
christos
121565d194
Make this compile with WARNS = 2
1999-07-08 01:56:09 +00:00
hannken
c2e396b2c7
Fix buffer allocation in function `raw_cat'. It was possible to get a
...
buffer size of zero if stdout has a block size of 0.
The command `rsh <host> cat <files>' gives no output and no error.
- Allocate a minimum of BUFSIZ bytes for buffer.
- Use a static buffer if either `fstat' or `malloc' fails.
- Do the allocation once since stdout will not change block size.
1999-04-26 09:15:59 +00:00
garbled
f124765044
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Many more to
come.
1999-03-22 18:25:43 +00:00
fair
570e759de9
Patch from PR#5156 to adjust buffer size to match filesystem block size
...
when "-u" option used, plus some additional documentation.
1999-03-11 12:04:18 +00:00
mycroft
9dc385beb1
Delint.
1998-07-28 05:31:22 +00:00
fair
dc026e0515
Change occurrences of "UNIX" to .Ux or .At as appropriate.
1998-04-28 06:00:51 +00:00
kleink
bea84c455b
Fix the EOL-indicators ('$') toggled by the `-e' option to be lined up
...
correctly when used in conjunction with the `-b' option; from Giles Lean
in PR bin/4841, modified by me to retain the line-counting semantics of `-b'.
1998-01-27 16:37:31 +00:00
cgd
bad15fd37f
lint
1997-11-05 21:17:14 +00:00
enami
c3872193cf
Fix .Nm usage.
1997-10-20 08:50:59 +00:00
christos
23edbe3557
Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
...
now that all /bin has been cleaned.
1997-07-20 22:36:20 +00:00
thorpej
91816b39da
Add WARNS.
1997-07-20 04:35:17 +00:00
thorpej
7d87f9c404
__COPYRIGHT()/__RCSID()/prototype police.
1997-07-20 04:34:33 +00:00
kleink
b4780b53b4
When allocating a buffer failed, don't fail silently.
1997-06-26 23:07:19 +00:00
kleink
dd33340fea
Indicate file handling failures by exit codes >0; fixes PR/3538 from
...
David Eckhardt <davide@piper.nectar.cs.cmu.edu>.
1997-04-27 18:34:33 +00:00
tls
4c7b22f594
kill use of register
1997-01-09 16:07:09 +00:00
cgd
fe622df251
kill an extr space in a (literally-printed) example
1995-09-27 05:38:55 +00:00
jtc
5fc5415e25
Sync with 4.4lite2
1995-09-07 06:12:53 +00:00
jtc
23e6aab105
Use "utility" instead of "command". Modern definitions of these terms
...
are distinct (See POSIX.2 glossary).
A utility is a executable, script or shell builtin; while a command
can be any of those things plus lists, pipelines, compound commands
(if, for, while) and shell function definitions.
1995-07-25 19:36:36 +00:00
cgd
d7290b7687
clean up RCS Ids slightly, etc.
1995-04-23 10:07:18 +00:00
cgd
49f0ad8601
convert to new RCS id conventions.
1995-03-21 09:01:59 +00:00
cgd
6d9009aacb
bugs don't get any dumber than this.
1994-11-04 09:59:07 +00:00
mycroft
ef719df409
Merge with 4.4-Lite version.
1994-09-20 01:24:07 +00:00
jtc
a8033b59a4
Use ".At v6" macro instead of spelling out "Version 6 AT&T UNIX".
1993-11-30 00:07:58 +00:00
jtc
74c5ec5c3e
POSIX.2 utilities must call setlocale(LC_ALL, "");
1993-11-19 20:00:51 +00:00
jtc
0674dd4ce2
Too few arguments for err() format specification.
1993-09-10 18:36:17 +00:00
jtc
e4127f0401
Document the fact that cat is a superset of 1003.2's cat.
1993-08-16 22:08:57 +00:00
mycroft
a579b792ce
Add RCS identifiers.
1993-08-01 18:59:54 +00:00
mycroft
b1bd4afedc
Add RCS indentifiers.
1993-08-01 07:42:49 +00:00
mycroft
1b9ce7ae24
Add RCS identifiers.
1993-08-01 05:47:31 +00:00
cgd
cfb32a6bf6
fix the cat bug found by mycroft in a more asthetically pleasing
...
way... also turn "Header" into "Id" for RCS...
1993-07-11 07:47:40 +00:00
mycroft
3567ef561d
Work correctly if a write() comes up short.
1993-07-11 06:36:20 +00:00
cgd
06be60083d
changed "Id" to "Header" for rcsids
1993-03-23 00:22:59 +00:00
cgd
346aa5dd48
added rcs ids to all files
1993-03-22 08:04:00 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00