Juli Mallett
22c26d85e3
The error functions take constant pointers to strings for their format.
2002-06-12 04:11:01 +00:00
Robert Drehmel
ddd16e87d0
Use the constants from <limits.h> for the sizes of integral C types
...
rather than defining them ourselves.
2002-06-11 11:27:20 +00:00
Tim J. Robbins
30f8b6c182
paste(1) appeared at least as early as 32v.
2002-06-11 08:13:03 +00:00
Tim J. Robbins
84fb5a42d2
cut(1) appeared at least as early as System III.
2002-06-11 08:11:12 +00:00
Juli Mallett
6fc8ba94c6
Note that this appeared at least as early as PWB UNIX.
...
Use the literal string 'PWB UNIX', as we still have no .At macro for it.
2002-06-10 22:59:59 +00:00
Tim J. Robbins
3ebf2779b3
Remove -j from synopsis. The form given in the synopsis was incorrect,
...
and it should not have been there at all since it is a deprecated option.
2002-06-10 10:39:33 +00:00
Tim J. Robbins
2a84afe106
When stat(2) fails, put the name of the component it failed on in the
...
warning message as well as the path argument.
2002-06-10 10:03:46 +00:00
Juli Mallett
851623f449
Add another example for using paste(1) since tjr seemed to want more examples
...
on IRC. This one is to create a colon seperated list of directories from
find(1), suitable for use in the shell's PATH.
2002-06-10 09:03:49 +00:00
Tim J. Robbins
76d70052fb
Add an EXAMPLES section with three examples. Document the problem with
...
multibyte characters and the -d option in a BUGS section.
2002-06-10 08:50:56 +00:00
Tim J. Robbins
e7cc3a2191
Refer to environ(7) for description of COLUMNS instead of describing it
...
in-line. Document effects of locale environment variables in the same way.
2002-06-10 07:55:13 +00:00
Tim J. Robbins
1fa600e8fe
The 10 occurrence limit for the `s' command documented here has not existed
...
for a very long time (or never did exist).
2002-06-10 07:44:04 +00:00
Tim J. Robbins
2ef53777fd
Newlines are not escaped anymore.
2002-06-10 07:27:32 +00:00
Tim J. Robbins
e307a7a172
Don't write escape newlines with `l' command (SUSv3)
2002-06-10 07:25:35 +00:00
Tim J. Robbins
03fef72fe9
Correctly handle global substitutions where the pattern is only "$", the
...
EOL anchor, when the last input line does not end in a newline character.
Picked up by the GNU sed test suite.
2002-06-10 06:06:20 +00:00
Juli Mallett
a13d4e42c2
Note early appearence of some commands. These actually appeared in PWB, but
...
it seems we don't have a macro for that yet, so list them in the first UNIX
release since then that we have a .At for: v7.
2002-06-10 05:03:20 +00:00
Doug Barton
b075c273da
Per previous discussion, and with Mark's blessing, update the value
...
of this knob to reflect (-)current reality.
2002-06-09 09:28:02 +00:00
Tim J. Robbins
e8d0276426
Use the Tn macro for COBOL, FORTRAN, PL/1, SNOBOL.
2002-06-08 11:40:12 +00:00
Tim J. Robbins
cbffce5928
Support the "--" end-of-options marker.
2002-06-08 11:33:22 +00:00
Tim J. Robbins
21e502a74c
nroff and pr no longer try to disallow messages.
2002-06-08 10:19:07 +00:00
Tim J. Robbins
500b4b738d
Add an examples section. Avoid beginning a sentence with a lowercase letter.
2002-06-08 08:37:27 +00:00
Tim J. Robbins
e4d15ec387
Document cut(1)'s deficiencies in dealing with multibyte characters in the
...
BUGS section. These will be easy to fix when we have wide character stdio.
2002-06-08 08:08:47 +00:00
Tim J. Robbins
393cf5088e
Don't split multibyte characters when the -n option is specified.
2002-06-08 07:27:21 +00:00
David E. O'Brien
7c381b21ad
Install a "perl5.6.1" wrapper. I think this is going too far as now
...
/usr/src has to carefully watch the Perl port to keep this in sync.
But this is the only way I am allowed to fix the mozzila build
(and other USE_PERL5 ports).
2002-06-07 18:55:42 +00:00
Tim J. Robbins
93738f50e5
style(9): don't initialise variables in their declaration, remove space
...
after function name, use __unused on unused parameters instead of
initialising them to bogus values.
2002-06-07 09:13:43 +00:00
Tim J. Robbins
8cd4e21f0f
Contrary to what the comments said, rs -H did not recycle storage, it just
...
kept writing past the end of the buffer. Correct the code so that it
actually does recycle storage.
2002-06-07 07:08:06 +00:00
Tim J. Robbins
6e473901a3
No need to check for "-" explicitly in getopt() loop.
2002-06-07 02:35:21 +00:00
Tim J. Robbins
c87180589e
Exit >1 when an error occurs, regardless of whether -s is specified (SUSv3)
2002-06-07 02:30:56 +00:00
Juli Mallett
e8e649cc5d
ANSI style function declarations.
2002-06-07 01:41:54 +00:00
Tim J. Robbins
c9ca258430
Expand description of environment variables, refer to environ(7) where
...
appropriate.
2002-06-07 01:29:49 +00:00
Tim J. Robbins
fa7595824c
Style nit: group together optional flags under the one Fl macro.
2002-06-07 01:17:54 +00:00
Tim J. Robbins
9bd2f93ab4
Respect LC_CTYPE and LC_COLLATE environment variables, mainly for their
...
effects on regular expressions. The libc regex code does not handle
equivalence classes well (for example), but we do our best.
2002-06-07 01:04:24 +00:00
Giorgos Keramidas
c8f927b297
Use size_t or ino_t instead of int, and remove a few warnings.
...
The makewhatis utility is now ok with WARNS=3.
Reviewed by: bde
2002-06-07 01:01:08 +00:00
Tim J. Robbins
850a1deb0c
Refer to environ(7) for description of COLUMNS. Note the effects of LANG,
...
LC_ALL and LC_TIME upon the utility.
2002-06-07 00:50:22 +00:00
Dag-Erling Smørgrav
a5426997a3
debug.{numvnodes,freevnodes} moved to vfs.
2002-06-06 23:01:50 +00:00
Doug Barton
d4d239ae67
Hook stat into the build
...
Fix a trailing ws nit while I'm here
2002-06-06 19:36:51 +00:00
Doug Barton
dd3d071205
This commit was generated by cvs2svn to compensate for changes in r97952,
...
which included commits to RCS files with non-trunk default branches.
2002-06-06 19:27:17 +00:00
Doug Barton
06b6d7d8a8
Virgin import of NetBSD's stat(1)
2002-06-06 19:27:17 +00:00
Dag-Erling Smørgrav
1f910d6cae
Factor out some code in preparation for un-kmeming fstat(1).
...
Sponsored by: DARPA, NAI Labs
2002-06-06 18:39:53 +00:00
Ruslan Ermilov
4093807dd9
libfetch now depends on libcrypto and libssl.
2002-06-06 13:45:46 +00:00
Andrey A. Chernov
e12155c834
Back out rev 1.19 because
...
1) It breaks uniq for real life languages when "substitute" directive used in
the collating table.
2) It breaks uniq usage in tool chain with other localized utilities which
use collate.
3) To follow LC_COLLATE it is directly allowed for uniq
by POSIX P1003.1 Draft7 (7.3.2). It means that rev 1.19 gains no additional
POSIX conformance.
2002-06-06 13:44:14 +00:00
Dag-Erling Smørgrav
2b488685e3
Support suidperl as well.
2002-06-06 12:12:23 +00:00
Ruslan Ermilov
860a2bf505
Added missing DPADD detected by ``make checkdpadd''.
2002-06-06 11:30:57 +00:00
Tim J. Robbins
5935c07540
Compare lines with strcmp(), not strcoll(). We are interested only in
...
equality, not ordering.
2002-06-06 03:13:08 +00:00
Tim J. Robbins
6a8be5c4f2
Sync usage() with manual page synopsis.
2002-06-06 03:05:30 +00:00
Dag-Erling Smørgrav
1bf28f7e94
Figures they had to call it NOCRYPT instead of NOCRYPTO.
2002-06-05 21:28:47 +00:00
Dag-Erling Smørgrav
d9615d7da4
During buildworld, "regular" libraries are built before crypto stuff, so
...
libfetch can't depend on lib{crypto,ssl}. Move the dependency to fetch
until we can figure out how to fix this.
2002-06-05 21:25:33 +00:00
Kelly Yancey
ab67591303
Use calculated column widths for the routing table display when -W is
...
supplied rather than arbitrarily larger widths. This (almost) guarantees
that no columns will be truncated (routing table additions between the
width calculation and display passes may create a row with column widths
larger than those calculated).
Sponsored by: NTT Multimedia Communications Labs
2002-06-05 18:29:26 +00:00
Ruslan Ermilov
5af50a7c59
Start the (overdue) de-orbit sequence for the -d -C combo,
...
as was promised in revision 1.43.
MFC after: 1 month
2002-06-05 17:37:48 +00:00
David E. O'Brien
6332b52c26
Some things used "#!/usr/bin/perl5" (such as the /usr/local/bin/use.perl on
...
my system). So install a "perl5" wrapper too.
2002-06-05 15:32:26 +00:00
Dag-Erling Smørgrav
fc281c6159
Don't build perl if NO_PERL is defined.
2002-06-04 15:20:11 +00:00