summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* beforeinstall target:grog2002-06-131-1/+2
| | | | | - Remove superfluous ; - create destination directories if they don't exist.
* Add two new options:grog2002-06-134-4/+24
| | | | | | | | | -W is like -A (number of days in the future to consider, but also specifies that we don't want special treatment at weekends. -F changes our notion of "Friday" (the day before the weekend). Arguably, calendar(1) is broken to have special treatment of weekends by default, but this method maintains POLA.
* Correct the Standards section: wc is a utility, not a function.tjr2002-06-131-1/+1
|
* Bump document date for previous commit.tjr2002-06-131-1/+1
|
* Add the -m option, which counts characters (as opposed to -c, whichtjr2002-06-132-24/+83
| | | | | | | counts bytes). In locales that don't have multibyte characters, -m is effectively an alias for -c. This brings wc(1) up to P1003.1-2001 conformance.
* Avoid classy use of a variable one time with a constant value.jmallett2002-06-131-2/+1
|
* Use %p to print a pointer, not %lx and a cast to (unsigned long). Yuck.jmallett2002-06-131-1/+1
|
* Don't do stupid things to avoid unused parameters, mark them __unused.jmallett2002-06-131-2/+2
|
* Reorder LDADD to fix static linking.des2002-06-121-2/+2
|
* String lengths and sizeof()s are size_t not int. Mark an unused parameterjmallett2002-06-123-3/+4
| | | | | | of ReadMakefile as __unused, it's there because this function is used by the abstracted list interface which normally deals with item handlers which take two arguments. Add a missing static prototype.
* The error functions take constant pointers to strings for their format.jmallett2002-06-125-10/+10
|
* Use the constants from <limits.h> for the sizes of integral C typesrobert2002-06-115-12/+10
| | | | rather than defining them ourselves.
* paste(1) appeared at least as early as 32v.tjr2002-06-111-0/+5
|
* cut(1) appeared at least as early as System III.tjr2002-06-111-0/+7
|
* Note that this appeared at least as early as PWB UNIX.jmallett2002-06-1010-12/+22
| | | | Use the literal string 'PWB UNIX', as we still have no .At macro for it.
* Remove -j from synopsis. The form given in the synopsis was incorrect,tjr2002-06-101-1/+0
| | | | and it should not have been there at all since it is a deprecated option.
* When stat(2) fails, put the name of the component it failed on in thetjr2002-06-101-1/+2
| | | | warning message as well as the path argument.
* Add another example for using paste(1) since tjr seemed to want more examplesjmallett2002-06-101-0/+7
| | | | | on IRC. This one is to create a colon seperated list of directories from find(1), suitable for use in the shell's PATH.
* Add an EXAMPLES section with three examples. Document the problem withtjr2002-06-101-0/+17
| | | | multibyte characters and the -d option in a BUGS section.
* Refer to environ(7) for description of COLUMNS instead of describing ittjr2002-06-101-10/+9
| | | | in-line. Document effects of locale environment variables in the same way.
* The 10 occurrence limit for the `s' command documented here has not existedtjr2002-06-101-3/+4
| | | | for a very long time (or never did exist).
* Newlines are not escaped anymore.tjr2002-06-101-2/+0
|
* Don't write escape newlines with `l' command (SUSv3)tjr2002-06-101-3/+3
|
* Correctly handle global substitutions where the pattern is only "$", thetjr2002-06-101-0/+3
| | | | | EOL anchor, when the last input line does not end in a newline character. Picked up by the GNU sed test suite.
* Note early appearence of some commands. These actually appeared in PWB, butjmallett2002-06-101-1/+1
| | | | | 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.
* Per previous discussion, and with Mark's blessing, update the valuedougb2002-06-091-1/+1
| | | | of this knob to reflect (-)current reality.
* Use the Tn macro for COBOL, FORTRAN, PL/1, SNOBOL.tjr2002-06-081-6/+12
|
* Support the "--" end-of-options marker.tjr2002-06-081-0/+3
|
* nroff and pr no longer try to disallow messages.tjr2002-06-081-7/+1
|
* Add an examples section. Avoid beginning a sentence with a lowercase letter.tjr2002-06-081-0/+14
|
* Document cut(1)'s deficiencies in dealing with multibyte characters in thetjr2002-06-081-0/+14
| | | | BUGS section. These will be easy to fix when we have wide character stdio.
* Don't split multibyte characters when the -n option is specified.tjr2002-06-082-4/+97
|
* Install a "perl5.6.1" wrapper. I think this is going too far as nowobrien2002-06-071-0/+1
| | | | | | /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).
* style(9): don't initialise variables in their declaration, remove spacetjr2002-06-071-12/+11
| | | | | after function name, use __unused on unused parameters instead of initialising them to bogus values.
* Contrary to what the comments said, rs -H did not recycle storage, it justtjr2002-06-071-1/+3
| | | | | kept writing past the end of the buffer. Correct the code so that it actually does recycle storage.
* No need to check for "-" explicitly in getopt() loop.tjr2002-06-071-5/+1
|
* Exit >1 when an error occurs, regardless of whether -s is specified (SUSv3)tjr2002-06-071-4/+4
|
* ANSI style function declarations.jmallett2002-06-073-19/+8
|
* Expand description of environment variables, refer to environ(7) wheretjr2002-06-071-8/+18
| | | | appropriate.
* Style nit: group together optional flags under the one Fl macro.tjr2002-06-071-3/+1
|
* Respect LC_CTYPE and LC_COLLATE environment variables, mainly for theirtjr2002-06-072-0/+14
| | | | | effects on regular expressions. The libc regex code does not handle equivalence classes well (for example), but we do our best.
* Use size_t or ino_t instead of int, and remove a few warnings.keramida2002-06-071-4/+4
| | | | | | The makewhatis utility is now ok with WARNS=3. Reviewed by: bde
* Refer to environ(7) for description of COLUMNS. Note the effects of LANG,tjr2002-06-071-11/+9
| | | | LC_ALL and LC_TIME upon the utility.
* debug.{numvnodes,freevnodes} moved to vfs.des2002-06-061-2/+2
|
* Hook stat into the builddougb2002-06-061-1/+2
| | | | Fix a trailing ws nit while I'm here
* This commit was generated by cvs2svn to compensate for changes in r97952,dougb2002-06-063-0/+1333
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import of NetBSD's stat(1)dougb2002-06-063-0/+1333
| |
* | Factor out some code in preparation for un-kmeming fstat(1).des2002-06-061-18/+43
| | | | | | | | Sponsored by: DARPA, NAI Labs
* | libfetch now depends on libcrypto and libssl.ru2002-06-061-1/+1
| |
* | Back out rev 1.19 becauseache2002-06-061-2/+18
| | | | | | | | | | | | | | | | | | | | 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.
OpenPOWER on IntegriCloud