summaryrefslogtreecommitdiffstats
path: root/bin/sh/sh.1
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-061-1/+1
|
* Remove duplicate words.dd2001-06-241-1/+1
|
* Document "chdir" builtin.dd2001-04-281-0/+4
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-5/+8
|
* Prepare for mdoc(7)NG.ru2001-01-161-1/+1
|
* Prepare for mdoc(7)NG.ru2000-12-181-11/+11
|
* Prepare for mdoc(7)NG.ru2000-12-151-2/+2
|
* mdoc(7) police: Er macro usage cleanup.ru2000-11-221-1/+1
|
* Implement the <> redirection operator.brian2000-10-031-3/+6
|
* 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
|
* Document the builtin echo commandmarko2000-07-171-4/+60
| | | | Reviewed by: Matthew Hunt <mph@astro.caltech.edu>
* Document ulimit -b for RLIMIT_SBSIZE.cracauer1999-12-151-1/+3
|
* make '|' character visible.cracauer1999-12-051-1/+1
| | | | | PR: docs/15265 Submitted by: takamune@avrl.mei.co.jp
* 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.
* 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>
* Mdoc cleanup, with a few grammar cleanups on the side.sheldonh1999-10-071-498/+922
| | | | Reviewed by: mpp
* Correct some hard sentence breaks. Only those surrounding the previoussheldonh1999-09-141-61/+65
| | | | | | | | commit and those which cause ugly nroff output have been fixed, since the purpose of the style guideline which they contravene is to reduce the sizes of deltas. Reported by: bde
* Improve shell documentation:sheldonh1999-09-081-32/+40
| | | | | | | | | | | | | | | | | | | | | | | | | * Consistently misspell built-in as builtin. * Add a builtin(1) manpage and create builtin(1) MLINKS for all shell builtin commands for which no standalone utility exists. These MLINKS replace those that were created for csh(1). * Add appropriate xrefs for builtin(1) to the csh(1) and sh(1) manpages, as well as to the manpages of standalone utilities which are supported as shell builtin commands in at least one of the shells. In such manpages, explain that similar functionality may be provided as a shell builtin command. * Improve sh(1)'s description of the cd builtin command. Csh(1) already describes it adequately. Replace the cd(1) manpage with a builtin(1) MLINKS link. * Clean up some mdoc problems: use Xr instead of literal "foo(n)"; use Ic instead of Xr for shell builtin commands. * Undo English contractions. Reviewed by: mpp, rgrimes
* Revert to using .Xr for builtins. The cross-references don't work now,sheldonh1999-08-311-5/+5
| | | | | | but that doesn't mean that they will never work. Requested by: mpp, rgrimes
* Clean-up:sheldonh1999-08-301-69/+160
| | | | | | | | | | Fix grammar and spelling nits. Use .Dq and .Qq where appropriate. Divorce trailing punctuation from quoted elements. Use .Dq instead of .Xr for builtins. Remove trailing whitespace and blank lines. PR: 13340
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Make the behaviour of `read -e', ie. treating backslashes as special,tg1999-08-261-9/+11
| | | | | | | the default. Add -r option for the read builtin to reverse this. PR: 13274 Reviewed by: cpiazza, hoek, sheldonh
* Typo fix.max1999-04-191-3/+3
|
* Implement -a flag. A test shell script can be found atcracauer1999-04-031-2/+1
| | | | | | | | | http://www.cons.org/cracauer/download/sh-interrupt/testsuite/test_export.sh The PR also had test cases the new version passes. Fix typo in comment. PR: bin/1030
* -T was missing in the synopsis line.cracauer1999-04-021-2/+2
| | | | Submitted by: BDE
* The immediate execution of traps I introduced in September 1998 (tocracauer1999-04-011-1/+13
| | | | | | | | | | make /etc/rc interruptible in cases when programs hang with blocked signals) isn't standard enough. It is now switched off by default and a new switch -T enables it. You should update /etc/rc to the version I'm about to commit in a few minutes to keep it interruptible.
* sh doesn't support <> redirections.brian1999-03-311-4/+2
| | | | PR: 7325
* Add references to test(1) and expr(1).jkoshy1998-12-181-1/+4
|
* Fix typo. "If the an entry" --> "If an entry"billf1998-12-021-2/+2
| | | | | PR: docs/8140 Submitted by: Sue Blake <sue@vedanix.welearn.com.au>
* Document behaviour of "-" and "--" on the command line.jkoshy1998-07-301-2/+7
| | | | PR: docs/5399
* Add rcsid. Spelling.charnier1998-05-181-3/+3
|
* Explicitly describe the rules the shell uses to search for a filejdp1998-02-121-1/+10
| | | | sourced by the "." command.
* Correct a bogon in an example.steve1998-01-021-2/+2
| | | | | PR: 5415 Submitted by: Sergei S. Laskavy <laskavy@pc759.cs.msu.su>
* Document the exit status for a command that was terminated by ajdp1997-11-121-1/+5
| | | | signal.
* Add the '-t timeout' option to the 'read' builtin. This allows themsmith1997-09-291-2/+9
| | | | | | | | 'read' command to return an error if the user fails to supply any input withink a given time period. The behaviour of this option is similar to that of the like-named option in ksh93. Reviewed by: joerg
* PR: docs/4449wosch1997-09-131-1/+6
| | | | | | The -c flag is not documented in the sh(1) manapge. Submitted by: adrian@virginia.edu
* Revise the section that explains how to protect parts of an $ENV scriptsteve1997-05-071-20/+12
| | | | | | from being executed in non-interactive mode. Suggested and Reviewed by: Brian Somers <brian@freebsd.org>
* mdoc-ify and cleanup UNIMPLEMENTED messages. Closes PR 2880.steve1997-04-281-735/+587
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Merge in NetBSD mods and -Wall cleaning.steve1996-12-141-50/+106
| | | | Obtained from: NetBSD, me
* Add the -p (privileged) commandline switchsteve1996-10-291-2/+11
| | | | | | found in bash, zsh, and friends. Reviewed by: joerg
* Fix for PR#1287. This makes sh behave sensibly in case statements in thepeter1996-09-031-2/+2
| | | | | | | | | | | | | | face of aliases. Note, bash doesn't do aliases while running scripts, but "real" ksh does.. Also: Reduce redundant .Nm macros in (unused) bltin/echo.1 nuke error2, it's hardly used. More -Wall cleanups dont do certain history operations if NO_HISTORY defined handle quad_t's from resource limits Submitted by: Steve Price <sprice@hiwaay.net> (minor tweaks by me)
* Merge of 4.4-Lite2 sh source, plus some gcc -Wall cleaning. This is apeter1996-09-011-8/+10
| | | | | | | | | | | | | | merge of parallel duplicate work by Steve Price and myself. :-] There are some changes to the build that are my fault... mkinit.c was trying (poorly) to duplicate some of the work that make(1) is designed to do. The Makefile hackery is my fault too, the depend list was incomplete because of some explicit OBJS+= entries, so mkdep wasn't picking up their source file #includes. This closes a pile of /bin/sh PR's, but not all of them.. Submitted by: Steve Price <steve@bonsai.hiwaay.net>, peter
* [HISTORY] command appeared in Version 1 AT&T UNIXwosch1996-08-291-1/+6
| | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
* o rename ulimit -p into ulimit -u, so we are in agreement with bashjoerg1995-10-211-2/+2
| | | | | | | o fix brokeness for 1>&5 redirection, where `5' was an invalid file descriptor, but no error message has been generated o fix brokeness for redirect to/from myself case
* Implement the "ulimit" builtin. This is the analogon to csh's "limit"joerg1995-10-191-1/+53
| | | | | | | | | command and badly needed in sh(1) for everybody who wants to modify the system-wide limits from inside /etc/rc. The options are similar to other system's implemantations of this command, with the FreeBSD additions for -m (memoryuse) and -p (max processes) that are not available on other systems.
* typo there --> theiradam1995-05-051-9/+16
|
OpenPOWER on IntegriCloud