Commit Graph

5370 Commits

Author SHA1 Message Date
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
Tim J. Robbins
d1ccc822a5 Wrap lines correctly for the `l' command. 2002-06-04 10:40:14 +00:00
Tim J. Robbins
30e9580eca Document the fact that the `l' command uses the COLUMNS environment
variable (SUSv3)
2002-06-04 10:01:06 +00:00
Tim J. Robbins
3714ae1254 Ignore COLUMNS environment variable if it is empty (SUSv3) 2002-06-04 10:00:08 +00:00
Tim J. Robbins
8358edb6c7 Respect the setting of the COLUMNS environment variable, use it instead of
the TTY width obtained by ioctl() when set & non-null. (SUSv3)
2002-06-04 09:52:30 +00:00
Tim J. Robbins
a51b574c46 Sort options in Description section. 2002-06-04 09:17:30 +00:00
Tim J. Robbins
debb184261 Note SUSv2 conformance. 2002-06-04 09:16:09 +00:00
Tim J. Robbins
91b14bffac confstr() returns (size_t)-1 on failure. Check for this explicitly instead
of trying to see if an unsigned number is less than zero.
2002-06-04 08:45:38 +00:00
Juli Mallett
6aab7a863f Add support for non-numeric key lookup via the 'cmds' file, by using the key
base as the key number.
2002-06-04 06:14:11 +00:00
Juli Mallett
51f7a48bf0 Err, duh, free(3) doesn't set its argument to NULL... Fix realloc of a freed
chunk.
2002-06-04 04:08:18 +00:00
Mike Barcroft
cb263c3594 Use POSIX macros for wait(2)-style status information instead of the
deprecated 4.2/4.3BSD wait union.  Fix some nearby pid_t/int
confusion.
2002-06-03 23:13:11 +00:00
Juli Mallett
ee3cbef6be Make the manpage consistent with the code on the subject of comments, as to
not change the code to always do the "GNU" thing, as it's possible people
rely on BSD m4(1) traditionally resetting comment characters in case of no
arguments to the changecom function.

PR:	bin/17480 (I think this satisfies the problem report)
2002-06-03 20:35:35 +00:00
Tim J. Robbins
1b2edc04ee Correct History: cal(1) appeared in V5, not V6. 2002-06-03 15:02:02 +00:00
Tim J. Robbins
e561f2b479 Correct History: nice(1) appeared in V4. 2002-06-03 14:56:57 +00:00
Tim J. Robbins
780c7a8790 Correct History: time(1) appeared at least as early as V3. 2002-06-03 14:54:04 +00:00
Tim J. Robbins
242093bb8c Sort sections. 2002-06-03 14:42:28 +00:00
Tim J. Robbins
03c249af41 Correct HISTORY section - split(1) appeared at least as early as V3. 2002-06-03 14:41:32 +00:00