summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* fix cp -vi bugmharo2000-01-231-2/+3
| | | | Submitted by: Dan Papasian (bugg_ on irc)
* Fix various mandoc bugsbrian2000-01-121-23/+48
|
* Add `.Nm red' to NAME section.phantom2000-01-101-1/+2
|
* . mdoc(7)'fyphantom2000-01-071-4/+9
| | | | | | | | . add Xrs to hosts.equiv(5), auth.conf(5), services(5) to some pages . sort Xrs in SEE ALSO sections Patches based on PR: docs/15680 Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
* Print negative minor numbers in hex. Negative minor numbers arebde2000-01-061-2/+3
| | | | | essentially large unsigned ones, and we already print minor numbers > 255 in hex.
* Actually remove unrequired SRCS.bde2000-01-051-1/+0
|
* Added missing DPADD's. Removed unrequired SRCS's.joe2000-01-013-1/+3
| | | | Obtained from: bde
* Removed bogus dependancy on libutil.joe2000-01-011-3/+0
| | | | Noticed by: bde
* Retire stat_flags.c; it's now in libutil.joe1999-12-301-149/+0
|
* Moved flags_to_string and string_to_flags into libutil. It's used injoe1999-12-303-6/+8
| | | | many places nowadays.
* Back out previous commit and replace with a cleaner solution adaptedsheldonh1999-12-291-11/+21
| | | | | | | | | | | | from the source attributed below. In particular, this removes a goto inside a switch and replaces those horrendous ATOI macros with something acceptable. More clean-ups to come. PR: bin/14151 Reported by: Christian Weisgerber <naddy@mips.rhein-neckar.de> Obtained from: NetBSD
* Take into account the fact that "[" may be called with a path,sheldonh1999-12-281-1/+6
| | | | | | | | for example "/bin/[". Reported by: Vlad Skvortsov <vss@ulstu.ru> Reported by: Peter Jeremy <peter.jeremy@alcatel.com.au> Message-Id: 99Dec27.111307est.40321@border.alcanet.com.au
* Mention the hostname variable in /etc/rc.conf since that is the mostjhb1999-12-221-1/+6
| | | | | | | | | | common way of setting the hostname. The man page already mentioned that the hostname is set by /etc/rc.network, so this just explains where /etc/rc.network gets the hostname from. PR: docs/14319 Submitted by: rwatson Reviewed by: cmc
* Fix a bug where a pointer would be one character too far after puttingroberto1999-12-211-1/+1
| | | | | | a '\0' at the end of a string. Submitted by: Martin Birgmeier <Martin.Birgmeier@aon.at>
* Fix cut'n'paste niggles in previous commit.sheldonh1999-12-212-7/+8
|
* Add link(1) and unlink(1) as special cases of ln(1) and rm(1)sheldonh1999-12-206-6/+83
| | | | | | | | | | | | respectively, in accordance with SUSv2. This differs from the approach taken in NetBSD, but provides less obscure error messages in at least the EISDIR case and does not take up additional disk space for new binaries. PR: 13071 PR: 13074 Requested by: James Howard <howardjp@wam.umd.edu>
* Fix command hash handling oncracauer1999-12-203-3/+29
| | | | | | PATH=... command Noted by and fix works for Marcel Moolenaar <marcel@scc.nl>
* Rewriting of flags_to_string() and string_to_flags() to use an array.roberto1999-12-191-86/+61
| | | | | PR: bin/3648 Submitted by: Martin Birgmeier <mbirg@austria.ds.philips.com>
* Second part of 8-bit fixes.cracauer1999-12-161-1/+9
|
* Document ulimit -b for RLIMIT_SBSIZE.cracauer1999-12-151-1/+3
|
* First round of 8-bit fixes.cracauer1999-12-153-9/+10
|
* add human readable output (-h and -H)mharo1999-12-153-12/+158
| | | | | | | | | | Obtained from: parts of human readable code from OpenBSD Reviewed by: obrien add POSIX, byte and megabyte block size ouput flags PR: 13579 (POSIX flag) Submitted by: Mike Meyer <mwm@phone.net>
* I've been Brucified! I did evil things with typedefs, but I'll do itgreen1999-12-081-4/+4
| | | | | | | the correct (but less aesthetic) way, now. New lesson: correctness and aestheticity may be mutually exclusive at times. Brucified by: bde
* Do proper constification in args.c. This shuts up -Wcast-qual (thanks,green1999-12-072-4/+8
| | | | | | | bfumerola for that pointer!) in GCC complaining about losing a const. While I'm here, might as well mark in the Makefile that I'm the ${MAINTAINER}. It seems like that's what everyone's doing these days.
* make '|' character visible.cracauer1999-12-051-1/+1
| | | | | PR: docs/15265 Submitted by: takamune@avrl.mei.co.jp
* Fix "subscript has type `char'" warnings by casting to int, ascracauer1999-12-042-5/+6
| | | | discussed on -arch.
* Include strerror(errno) in error messages after failed system calls.cracauer1999-11-2910-15/+21
| | | | Fix a warning.
* Default to not -v.obrien1999-11-281-2/+2
| | | | Fix usage() style bug spotted by BDE.
* brucifymharo1999-11-283-29/+33
| | | | Reviewed by: obrien
* Add "-v".obrien1999-11-272-2/+18
|
* Correct use of .Nm. Add DIAGNOSTICS section. Add rcsidcharnier1999-11-212-8/+12
|
* Follow-up on mdoc fixes in rev 1.35; this includes things that I missedsheldonh1999-11-181-29/+58
| | | | | | in that revision as well as things I broke in that revision. A note- worthy instance of the latter case was the inversion of -E and -V in the subsection on Commandline Editing.
* The pipleline problem introduced in version 1.22 wasn't fully fixed incracauer1999-11-171-1/+1
| | | | | | | 1.23. This revision should work for long pipes both in here-documents/backquote and in normal cases. Fix works for jmz, bde.
* I'm probably jumping the gun, but what the heck, this is -current.peter1999-11-171-2/+2
| | | | | | | | | | | | | | | Turn off setgid-kmem for /bin/ps, it's now quite functional without it. ps no longer needs /dev/*mem or /proc. (It will still use some /proc files if they are available for -e, but it's not required, so it'll happily run in a jail or chroot). The proc stats are now part of eproc (obtained via sysctl) and no longer needs to beat up the u-page reading code and the problems with that. This also has the side effect of disabling 'ps -e' for normal users *EXCEPT* when looking at their own processes. ie: they can see environments in processes with their uid, enforced by the ownership of /proc/*/mem. Root can still see them all, as it can open all /proc/*/mem.
* Use eproc.e_stats, not a series of crude hacks to fetch it from the u-area.peter1999-11-171-60/+19
| | | | Also, fix some indentation that got messed up somehow..
* Introduce commandline caching in the kernel.phk1999-11-161-1/+1
| | | | | | | | | | | This fixes some nasty procfs problems for SMP, makes ps(1) run much faster, and makes ps(1) even less dependent on /proc which will aid chroot and jails alike. To disable this facility and revert to previous behaviour: sysctl -w kern.ps_arg_cache_limit=0 For full details see the current@FreeBSD.org mail-archives.
* Typo (appropiate -> appropriate)kris1999-11-151-1/+1
| | | | Obtained from: OpenBSD (inspired by)
* Allow the year to be specified with an optional century.sheldonh1999-11-102-4/+14
| | | | | PR: 14472 Reported by: j_guojun@lbl.gov (Jin Guojun)
* Don't call bash(1) a Korn shell clone. Instead, use pdksh(1) as ansheldonh1999-11-101-2/+2
| | | | | | | example of such a clone. PR: 14601 Submitted by: Matthias Buelow <mkb@altair.mayn.de>
* Correct logic from previous commit - middle processes in long pipessteve1999-11-071-1/+1
| | | | | | don't have their stdin closed indisciminantly. Reviewed by: markm
* When a backquote command inside a here-document had a pipe with morecracauer1999-11-051-1/+2
| | | | | | | | than two processes (got that? :-), the stdin fd of the middle processes that has just been set up was accidetially closed. Don't do this. PR: bin/14527
* Most modern OSs have the ability to flag certain mounts as ones tojulian1999-11-012-6/+14
| | | | | | | | | | | | | | be ignored by default by the df(1) program. This is used mostly to avoid stat()-ing entries that do not represent "real" disk mount points (such as those made by an automounter such as amd.) It is also useful not to have to stat() these entries because it takes longer to report them that for other file systems, being that these mount points are served by a user-level file server and resulting in several context switches. Worse, if the automounter is down unexpectedly, a causal df(1) will hang in an interruptible way. PR: kern/9764 Submitted by: Erez Zadok <ezk@cs.columbia.edu>
* Restore reference to sleep(3).ru1999-10-281-1/+2
|
* Fix ';' command when used with -e flag.cracauer1999-10-261-1/+8
| | | | PR: bin/14509
* Add `n' to the synopsis.obrien1999-10-161-1/+1
| | | | Forgotten by: sheldonh
* Implement ulimit -b for RLIMIT_SBSIZE.green1999-10-091-1/+4
|
* This implements the RLIMIT_SBSIZE ("sbsize") administrative limits forgreen1999-10-091-0/+1
| | | | | userland. Currently, it can be enforced by login and csh. More shells supporting sbsize are welcome.
* Mdoc cleanup, with a few grammar cleanups on the side.sheldonh1999-10-071-498/+922
| | | | Reviewed by: mpp
* Nuke the FIODTYPE compatibility bits. It's time.green1999-10-031-3/+1
|
* Let sleep(1) handle fractions of a second (up to nanosecond).ru1999-10-012-12/+72
| | | | | | | This is a conservative change. It does the same thing in weird cases like the old one. For example, 'sleep abcd' still sleeps for zero seconds. `sleep 10.a' and `sleep 10.05aa' do the best and not abort (ie: 10.a == 10 seconds, 10.05a == 10.05 seconds).
OpenPOWER on IntegriCloud