summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix style bugs and poor wording introduced in rev 1.12.sheldonh2000-08-171-8/+17
| | | | Submitted by: bde
* Fix style bugs and inconsistencies introduced in rev 1.16.sheldonh2000-08-171-12/+18
| | | | Submitted by: bde
* Disable part of my 8-bits fixes from December 1999.cracauer2000-08-161-4/+1
| | | | | | | | Serious fix still needed, see discussion on -current (Subject: /bin/sh dumps core with here-document of 8bit text) Problem in this code originally spotted by Jun Kuriyama <kuriyama@FreeBSD.org>
* Fix type builtin for absolute paths and relative paths with directorycracauer2000-08-161-9/+16
| | | | | | | | | names in them. Also use a colon in the answer of `type` everytime the questioned item is not usable. PR: bin/20567
* From submitter:cracauer2000-08-163-1/+22
| | | | | | | | | | | | | | | | | growstackblock() sometimes relocates a stack_block considered empty without properly relocating stack marks referencing that block. The first call to popstackmark() with the unrelocated stack mark as argument then causes sh to abort. Relocating the relevant stack marks seems to solve this problem. The patch changes the semantics of popstackmark() somewhat. It can only be called once after a call to setstackmark(), thus cmdloop() in main.c needs an extra call to setstackmark(). PR: bin/19983 Submitted by: Tor.Egge@fast.no Reviewed by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* Don't explicitly declare optarg and optind. These are declared inimp2000-08-164-6/+0
| | | | unistd.h, which is already included.
* Add the -i option, as found in rm(1), which provides an interactivesheldonh2000-08-142-8/+46
| | | | | | | mode in which the user is prompted for confirmation before an existing file is replaced. Submitted by: alex
* Un-deprecate the -G flag at obrien's request. Colour sequences are stilljoe2000-08-132-11/+20
| | | | | dependent upon the output being directed to a terminal however. (Use the CLICOLOR_FORCE variable to force output).
* Correct spelling: depricated -> deprecated.joe2000-08-122-2/+2
|
* A change to the way that colours are switched on in ls. The -Gjoe2000-08-122-44/+54
| | | | | | | | | | | | | | flag has been depricated, although it still works with a warning message, and replaced with an environment variable CLICOLOR (command line interface colour). This could be used by other tools that want to be able to control colour output. In addition if the environment variable CLICOLOR_FORCE is defined colour sequences are output irrespective of whether the output is directed to a terminal (as long as TERM references a colour capable terminal of course ;) PR: bin/20291 and bin/20483
* The rest of the changes needed to support the new version of sendmail (8.11.0).gshapiro2000-08-121-1/+14
| | | | | | Beyond changes to the build system, this includes fixing up the sample freebsd.mc configuration for changes in defaults and syntax, removing outdated documentation, and updating the release notes.
* ".It" -> ".It Ev" in a couple of places.joe2000-08-121-2/+2
|
* Optimize out no-op chmod() syscalls.peter2000-07-291-2/+5
|
* Try to clean the manpage up according to the mail from Sheldonjwd2000-07-281-5/+6
| | | | | | | | | | in committers (Message-Id: <72836.964344168@axl.ops.uunet.co.za>). Also cleaned up a .Pq macro which was causing problems previous to the original update I made. Reviewed by: sheldonh Approved by: jkh
* Mark up the -a flag to unalias as a flag (Fl), not an argument (Ar).sheldonh2000-07-241-1/+1
|
* Add missing punctuation to one line.sheldonh2000-07-241-1/+1
|
* Expand the -r option to support hex. Though undocumented, the -rjwd2000-07-222-2/+3
| | | | | | | | option already supported octal. Add a comment to the -r option in the man page so it's a bit more specific. Discrepancy brought to my attention by: sasdrq@unx.sas.com Approved by: jkh
* Add overflow testsse2000-07-221-3/+76
|
* Add the missing flags to ls(1)'s usage: -Bb.green2000-07-221-2/+2
|
* Make the comment regarding ftruncate() correct.green2000-07-201-2/+2
|
* Don't emit a warning message if fchflags() returns EOPNOTSUPPsada2000-07-201-1/+10
| | | | | Requested by: FUJISHIMA Satsuki <k5@cheerful.com> Obtained from: OpenBSD
* Update stale references to update(4) with references to the newsheldonh2000-07-191-1/+1
| | | | syncer(4) manual page.
* Fix one grammar problem which crept in from rev 1.40 to rev 1.42, andsheldonh2000-07-181-2/+2
| | | | one mdoc problem from rev 1.40 (unnecessarily populated Nm macro).
* Document the builtin echo commandmarko2000-07-171-4/+60
| | | | Reviewed by: Matthew Hunt <mph@astro.caltech.edu>
* Locale support was added by ache long ago.sheldonh2000-07-171-4/+2
|
* To make inherit file flags when mv(1) moves file between directoriessada2000-07-151-0/+2
| | | | | | | | | on different file systems. PR: bin/12375 Submitted by: Takashi SHIRAI <shirai@nintendo.co.jp> No response by: steve No problem with: building 5-current world
* Re-worded the description of the -r optionmarko2000-07-151-2/+4
| | | | | | PR: 18792 Submitted by: Bob Johnson <bobj@atlantic.net> Approved by: Alexander Langer <alex@freebsd.org>
* Fixd with alias missing.sada2000-07-151-0/+1
| | | | | PR: bin/19475 Approved by: Martin Cracauer <cracauer@cons.org> (with conditions)
* Now, the mdoc fixes, such as:alex2000-07-141-22/+28
| | | | | | | | | * remove hard sentence breaks * use of Fl with Ar if argument available * Dq -> Sq where better * Ql -> Dq and Ql -> Fa where better * include sections to Xr macro * It Ar .ss -> It Ar ss
* As per request by sheldonh and others on IRC, seperate language and mdocalex2000-07-141-32/+28
| | | | | | | fixes (very important in this case). Version 1.40 should be discarded. This version includes the language diffs. To receive them, use cvs diff [-u] -r 1.39 -r 1.41
* Fix several language, style and mdoc improvements (such as correctalex2000-07-141-57/+60
| | | | | | | | usage of .Xr and removal of hard sentence breaks). PR: 18880 Submitted by: Christian Weisgerber <naddy@unix-ag.uni-kl.de> Obtained from: OpenBSD (in parts)
* Use lstat(2) instead of stat(2) when deciding if we should fastcopydwmalone2000-07-111-1/+1
| | | | | | | a file. This fixes moving symlinks across partitions. PR: 17847 Reviewed by: bde
* Extend numeric operations to support 64 bit numbers.se2000-07-101-30/+29
|
* Add support for 64bit integer comparisons.se2000-07-101-6/+50
|
* Don't call warn() with no format string. This is potentially exploitable, ↵kris2000-07-101-1/+1
| | | | | | although it would be difficult both technically and in practise.
* Initial kenv(1) hack for dumping the kernel environment. This can bepeter2000-07-083-0/+186
| | | | | | used to extract modified boot hints to make loader(8)-time changes "sticky". It tries to use \ style quoting so that it can be used directly with foo.conf files. It can also extract specific variables.
* Fix the exit code for the case where nentries == 0; if a PID doesn't exist,will2000-07-081-1/+1
| | | | | | | | | ps(1) should not be returning a success code (0), it should return an error code (1). This was fixed on OpenBSD over 3 years ago. PR: 19069 Submitted by: Jim Sloan <odinn@atlantabiker.net> Reviewed by: rwatson
* Explain the dependence of colour support on the capabilities of thesheldonh2000-07-071-0/+20
| | | | | | | | | | terminal emulator. As pointed out by jhb, a more scalable solution would be preferable when multiple applications in the base system begin linking against libh. Submitted by: Doug Barton <DougB@gorean.org>
* restore tabs lost from prev commitache2000-07-071-2/+2
| | | | Asked-by: bde
* curses -> termcap, mainly for purity and to indicate which functions familyache2000-07-061-2/+2
| | | | really used
* make sure we do not write out non-printable characters in file namesassar2000-07-045-25/+36
| | | | | | | and symbolic links (by default) PR: bin/19354 Reviewed by: silence on -current
* Various cleanups are made to reduce warnings and make code prettier :)green2000-07-015-17/+29
| | | | | Also, check for ftruncate() return value and die on failure, but only try to ftruncate() when the file is a regular file.
* Fix the rmdir -p a/b/c/ case, where rmdir -p a/b/c works, and rmdir c/nbm2000-06-281-0/+4
| | | | | | | | works. PR: PR 6521 Submitted by: Rudolf Cejka <xcejka00@dcse.fee.vutbr.cz> Reviewed by: eivind (in brief retrograde)
* Grumble. The previous commit still had the wrong date in thempp2000-06-281-1/+1
| | | | | example. Oct 29 0:30 +3 hours is still Oct 29, no matter what the DST setting is, and not Oct 30..
* Typo fix.mpp2000-06-281-1/+1
| | | | | PR: docs/19554 Submitted by: Kazuo Horikawa <horikawa@psinet.com>
* Use Dq Li (double-quoted literal) instead of Ic (internal command) tosheldonh2000-06-271-4/+2
| | | | | | | | mark up a sample invocation, since it is not a command internal to the described utility. Do not use Ar (argument) to mark up something which is not an argument to the utility or one of its internal commands.
* Add \a and \e to "echo -e" escape handling.mph2000-06-261-0/+2
|
* Use %Efache2000-06-221-2/+2
|
* Fix changes from 1.34 through 1.37:sheldonh2000-06-221-6/+14
| | | | | | Remove newly added hard sentence breaks. Mark ANSI up as a type name (Tn). Avoid parenthesized sentences and paragraphs.
* Mention the timezone where appropriate (for the -v option).brian2000-06-221-3/+3
| | | | correct one of the -v options.
OpenPOWER on IntegriCloud