summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Don't install examples of NO_EXAMPLESphk2005-08-031-0/+2
|
* Spell "protections" correctly.keramida2005-07-281-1/+1
|
* Spell "background" correctly.keramida2005-07-281-5/+5
|
* Fix a bug when shell expansion is done against dangling symlinks, bydelphij2005-07-071-1/+1
| | | | | | | | | | | | converting the stat() call to a lstat() call, which will cover the situation. One can exercise this bug by referring a dangling link with something like */the-link. Approved by: re (scottl) Submitted by: Simon 'corecode' Schubert [corecode fs ei tum de] Obtained from: NetBSD via DragonFlyBSD (NetBSD rev. 1.51 and DragonFly rev. 1.6) MFC After: 3 days
* Sort sections.ru2005-06-142-13/+13
| | | | Approved by: re (blanket)
* Sorted sections and fixed prompt (PS[12]) strings.ru2005-06-141-11/+11
| | | | Approved by: re (blanket)
* Put the description of the -c option in the right place, asru2005-06-141-7/+9
| | | | | | | | | promised by the Argument List Processing section introduction. What follows the option in the options list is its long name, not its argument (as is the case for the -c option). Also sort references in the SEE ALSO section. Approved by: re (blanket)
* Remove kludges intended to support src trees with partial obj trees.des2005-06-101-6/+2
| | | | Discussed with: ru
* Remove the EXAMPLES section that describes how to sort by size usingdd2005-06-031-15/+0
| | | | | | | | | | sort(1). This functionality is provided by the -S option now, and it is useful even though a similar effect is achievable with sort(1), since the latter doesn't work in combination with -h. This option is also present in NetBSD, OpenBSD, and GNU fileutils, so there's clearly a demand for it. Noticed by: asmodai
* Improve wording: A sort is "in" a particular order, not "by" add2005-06-031-2/+2
| | | | particular order.
* Add the -S option to sort files by size. NetBSD and OpenBSD alreadydd2005-06-035-12/+43
| | | | | | | | have this option with identical semantics (sorting large files first). -r can be used to reverse the sort if that is desired. PR: 81625 Submitted by: Kostas Blekos <mplekos@physics.upatras.gr>, keramida
* The new name for the DIAGNOSTICS section is EXIT STATUS.tjr2005-05-311-1/+1
| | | | Noticed by: ru
* Move information about exit status into a DIAGNOSTICS section.tjr2005-05-291-1/+1
|
* Fix: printed output flags (onocr) and (onlret) same as oxtabsache2005-05-261-2/+2
| | | | | PR: 81256 Submitted by: Arseny Nasokin <tarc@tarc.po.cs.msu.su>
* Correct a few places where we called warn() when warnx() should havemux2005-05-191-4/+4
| | | | | | | been used. Submitted by: "Liam J. Foy" <liamfoy@sepulcrum.org> Obtained from: DragonFlyBSD
* A second attempt to adjust option-parsing on a shell command, for thegad2005-05-161-1/+20
| | | | | | | | | | benefit of scripts start out as: #!/bin/sh -- # -*- perl -*- With this fix in place, we can commit a change to kern/imgact_shell.c so FreeBSD will process the `#!' line in shell-scripts in a more standard fashion. PR: 16393 Mentioned on: freebsd-arch
* Add an interface to the lchflags(2) syscall. The new -h option isdd2005-05-142-12/+35
| | | | | | | | analogous to chmod(1)'s -h. It allows setting flags on symbolic links, which *do* exist in 5.x+ despite a claim to the contrary in the chflags(1) man page. Suggested by: Chris Dillon
* Define HAVE_STRUCT_UTMP_UT_HOST in order for the REMOTEHOST environmentmp2005-05-041-1/+1
| | | | | | | | | | variable to show up correctly. Note: This is really a bug with the stock tcsh configure.in script not including <sys/types.h> before <utmp.h>. But, since config.h is maintained separate from the contrib sources, this is the correct fix. Noticed by: ache
* o Typo: s/teminal/terminal/.maxim2005-04-291-1/+1
| | | | Submitted by: Michal Varga
* Add in FreeBSD specific options for tcsh 6.14.mp2005-04-241-53/+11
|
* Add the config.h resulting from running the configure script.mp2005-04-241-164/+203
| | | | | Note: the contents of this file has changed between 6.13 and 6.14. The old contents of this file has been repocopied to config_p.h.
* Add new file (tc.nls.c) to the build.mp2005-04-241-1/+1
|
* There is no /etc/rc.network anymore.keramida2005-04-171-2/+2
| | | | | Submitted by: Benjamin Rossen <b.rossen@onsnet.nu> MFC after: 2 weeks
* Various sh(1) enhancements:keramida2005-04-151-10/+83
| | | | | | | | - Move the description of the ``-c string'' option closer to the option itself. - Add an ENVIRONMENT section (1) - Add more .Xr cross references to the SEE ALSO section. Obtained from: NetBSD (1)
* Document problems with writing to disks under GEOM.scottl2005-04-071-1/+10
|
* Add and document the 'jid' keyword for the '-o' option.pjd2005-03-202-1/+4
| | | | | Reviewed by: gad MFC after: 3 days
* Fix bin/pax doesn't wait for compress/gzip before exiting.obrien2005-03-121-4/+6
| | | | | Submitted by: Joerg Sonnenberger <joerg@britannica.bec.de> Obtained from: OpenBSD (commited fix to PR 3455)
* Use ``.Pq Ql'' to quote single characters, instead of ``.Pq Li''.keramida2005-03-041-17/+17
| | | | | | | This makes the resulting output more aesthetically pleasing in text-only terminals: Reviewed by: ru
* Add a section describing the exit status of the shell.keramida2005-03-041-0/+8
| | | | Obtained from: NetBSD
* Wrap BSD r* commands in NO_RCMDS.trhodes2005-03-021-1/+1
| | | | | | Change NO_RCMDNS to NO_RCMDS and do the switch in bsd.compat.mk. Discussed with: ru, nectar
* Support \H, \h, \w, \W, \$ string expansion in the prompt.obrien2005-03-011-4/+91
| | | | Submitted by: mini
* Fix typophantom2005-02-272-2/+2
|
* Fix a few markup nits in previous commit.trhodes2005-02-252-7/+9
| | | | Noticed by: ru, who else? :)
* Note how cp(1) handles directories ending in "/."trhodes2005-02-241-1/+5
| | | | | PR: 75774 Submitted by: Mike Meyer <mwm@mired.org> (original version)
* Add information on utilities which may or may not be aware of file flags.trhodes2005-02-231-1/+18
| | | | | PR: 55653 Submitted by: Tony Maher <tonymaher@optushome.com.au> (original version)
* Change /bin/sh so *it* implements the processing needed for scripts togad2005-02-161-11/+43
| | | | | | | | | | | | | | | | | | | | | | work as expected when they have a "shebang line" of: #!/bin/sh -- # -*- perl -*- -p This specific line is recommended in some perl documentation, and I think I've seen similar lines in documentation for ruby and python. Those write-ups expect `sh' to ignore everything after the '--' if the first thing after the '--' is a '#'. See chapter 19, "The Command-Line Interface" in 3rd edition of "Programming Perl", for some discussion of why perl recommends using this line in some circumstances. The above line does work on solaris, irix and aix (as three data points), and it used to work on FreeBSD by means of a similar patch to execve(). However, that change to execve() effected *all* shells (which caused other problems), and that processing was recently removed. PR: 16393 (the original request to fix the same issue) Reviewed by: freebsd-current (looking at a slightly different patch) MFC after: 1 week
* Several improvements to ps.1:delphij2005-02-141-10/+22
| | | | | | | | | | | | | | | - Document the fact that empty heading text suppresses the heading line (e.g. 'ps -o pid='), as this is very useful in scripts. - Describe logname keyword more completely. - Describe the printing of arguments more completely. - Put lockname in the correct alphabetical order in the list of all keywords. - Correct sentence in standards section. Submitted by: Jilles Tjoelker <jilles at stack nl> PR: docs/73618 MFC After: 1 week
* Expand contractions.ru2005-02-131-1/+1
|
* Expand *n't contractions.ru2005-02-135-6/+6
|
* Fixed the misplaced $FreeBSD$.ru2005-02-092-2/+2
|
* Sync program's usage() with manpage's SYNOPSIS.ru2005-02-0915-29/+32
|
* Since it is not un-common for a process's resident set size (rss)csjp2005-02-061-1/+1
| | | | | | | | | | | | | to exceed 10 megabytes in size (especially in X), bump the max column width from 4 bytes to 5. This will make the ps auxw output uniform again when a process's rss exceeds 10 megs. It should be noted that when 5 digits becomes to small, other solutions should be explored such as displaying them in megabytes or having ps automatically re-size column widths. Discussed with: gad MFC after: 1 week
* Use LC_MESSAGES locale category instead of value of LANG environment variablephantom2005-02-012-0/+4
| | | | | | | | | while opening of tcsh's message catalog. It gives us more flexibility, and do not change current behaviour (since we call setlocale() here) Submitted by: Rostislav Krasny <rosti_bsd@yahoo.com> PR: bin/76773 MFC After: 3 days
* Remove unnecessary SRCS= where could be guessed directly by ourdelphij2005-01-271-1/+0
| | | | | | bsd.*.mk infrasture. Obtained from: ru
* ps(1) is WARNS=6 on all Tier-1 platforms as far as I can test,delphij2005-01-271-1/+1
| | | | so use default WARNS level from bin/Makefile.inc
* Don't specify SRCS= when it can be obtained from PROGS=delphij2005-01-271-1/+0
|
* WARNS?=6 is already in bin/Makefile.inc, so remove this one.delphij2005-01-271-1/+0
|
* Remove useless errno.h include.ssouhlal2005-01-261-1/+0
| | | | | Approved by: grehan (mentor) Obtained from: DragonFlyBSD
* Remove WARNS?= 6 from Makefile, since it is already in src/bin/Makefile.incssouhlal2005-01-261-1/+0
| | | | | Requested by: ru Approved by: grehan (mentor)
* - The first argument of getmode() is a void *ssouhlal2005-01-252-1/+3
| | | | | | | - Add WARNS?= 6 Approved by: stefanf, grehan (mentor) Obtained from: DragonFlyBSD
OpenPOWER on IntegriCloud