Commit Graph

5434 Commits

Author SHA1 Message Date
jmallett
241a475e6f 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
tjr
8ebea63ae6 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
tjr
64fa162345 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
jmallett
758a4d89c6 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
tjr
7448c351c8 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
tjr
de5809df72 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
tjr
f8ee1d2d03 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
tjr
b72fd54413 Newlines are not escaped anymore. 2002-06-10 07:27:32 +00:00
tjr
aebd48afab Don't write escape newlines with `l' command (SUSv3) 2002-06-10 07:25:35 +00:00
tjr
77f74738b6 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
jmallett
dcf74a7fe1 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
dougb
e8ef99c274 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
tjr
82e04d4006 Use the Tn macro for COBOL, FORTRAN, PL/1, SNOBOL. 2002-06-08 11:40:12 +00:00
tjr
477a608328 Support the "--" end-of-options marker. 2002-06-08 11:33:22 +00:00
tjr
79b0657126 nroff and pr no longer try to disallow messages. 2002-06-08 10:19:07 +00:00
tjr
59f0a60015 Add an examples section. Avoid beginning a sentence with a lowercase letter. 2002-06-08 08:37:27 +00:00
tjr
eca9ac0d2f 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
tjr
3874025041 Don't split multibyte characters when the -n option is specified. 2002-06-08 07:27:21 +00:00
obrien
10c9ec1d2f 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
tjr
ef796a5f35 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
tjr
a98a42559d 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
tjr
586068906c No need to check for "-" explicitly in getopt() loop. 2002-06-07 02:35:21 +00:00
tjr
c4d587cfbc Exit >1 when an error occurs, regardless of whether -s is specified (SUSv3) 2002-06-07 02:30:56 +00:00
jmallett
ecd7ab07f9 ANSI style function declarations. 2002-06-07 01:41:54 +00:00
tjr
8a3a920fbc Expand description of environment variables, refer to environ(7) where
appropriate.
2002-06-07 01:29:49 +00:00
tjr
336b5c6bdc Style nit: group together optional flags under the one Fl macro. 2002-06-07 01:17:54 +00:00
tjr
e20227aeb2 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
keramida
c1a85efa3a 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
tjr
385a534007 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
des
b858776460 debug.{numvnodes,freevnodes} moved to vfs. 2002-06-06 23:01:50 +00:00
dougb
a251620880 Hook stat into the build
Fix a trailing ws nit while I'm here
2002-06-06 19:36:51 +00:00
dougb
4bbb3471b5 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
dougb
b1ea4d6a24 Virgin import of NetBSD's stat(1) 2002-06-06 19:27:17 +00:00
des
5c7a83ed1d Factor out some code in preparation for un-kmeming fstat(1).
Sponsored by:	DARPA, NAI Labs
2002-06-06 18:39:53 +00:00
ru
876652376e libfetch now depends on libcrypto and libssl. 2002-06-06 13:45:46 +00:00
ache
37d7c3a7df 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
des
3be5f8e901 Support suidperl as well. 2002-06-06 12:12:23 +00:00
ru
affb92279e Added missing DPADD detected by ``make checkdpadd''. 2002-06-06 11:30:57 +00:00
tjr
264da240fc Compare lines with strcmp(), not strcoll(). We are interested only in
equality, not ordering.
2002-06-06 03:13:08 +00:00
tjr
050d703846 Sync usage() with manual page synopsis. 2002-06-06 03:05:30 +00:00
des
88a7e46829 Figures they had to call it NOCRYPT instead of NOCRYPTO. 2002-06-05 21:28:47 +00:00
des
694ae4fc45 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
kbyanc
09c2c0c59d 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
ru
e11700e21e 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
obrien
9a2766b7f3 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
des
db9524cde5 Don't build perl if NO_PERL is defined. 2002-06-04 15:20:11 +00:00
tjr
1162c6ee51 Wrap lines correctly for the `l' command. 2002-06-04 10:40:14 +00:00
tjr
096096d1a2 Document the fact that the `l' command uses the COLUMNS environment
variable (SUSv3)
2002-06-04 10:01:06 +00:00
tjr
86435d3331 Ignore COLUMNS environment variable if it is empty (SUSv3) 2002-06-04 10:00:08 +00:00
tjr
f91c8f40be 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