summaryrefslogtreecommitdiffstats
path: root/bin/sh
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>1999-05-08 10:22:15 +0000
committerkris <kris@FreeBSD.org>1999-05-08 10:22:15 +0000
commit713dd62834d401cc7b9b394a4b916ab9e5e3d4d5 (patch)
tree697ce44b4cebcd3432c5b00049fc0a58ac8d3742 /bin/sh
parente45752d185f905fa5c6f91dd4d4622f62c6246f7 (diff)
downloadFreeBSD-src-713dd62834d401cc7b9b394a4b916ab9e5e3d4d5.zip
FreeBSD-src-713dd62834d401cc7b9b394a4b916ab9e5e3d4d5.tar.gz
Various spelling/formatting changes.
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
Diffstat (limited to 'bin/sh')
-rw-r--r--bin/sh/alias.c4
-rw-r--r--bin/sh/error.h4
-rw-r--r--bin/sh/eval.c4
-rw-r--r--bin/sh/expand.c6
-rw-r--r--bin/sh/jobs.c4
-rw-r--r--bin/sh/main.c4
-rw-r--r--bin/sh/miscbltin.c4
-rw-r--r--bin/sh/trap.c4
8 files changed, 17 insertions, 17 deletions
diff --git a/bin/sh/alias.c b/bin/sh/alias.c
index 9ef862b..a02d12b 100644
--- a/bin/sh/alias.c
+++ b/bin/sh/alias.c
@@ -39,7 +39,7 @@
static char sccsid[] = "@(#)alias.c 8.3 (Berkeley) 5/4/95";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: alias.c,v 1.10 1998/05/18 06:43:25 charnier Exp $";
#endif /* not lint */
#include <stdlib.h>
@@ -90,7 +90,7 @@ setalias(name, val)
* expanding an alias, the value of the alias is pushed back on the
* input as a string and a pointer to the alias is stored with the
* string. The alias is marked as being in use. When the input
- * routine finishes reading the string, it markes the alias not
+ * routine finishes reading the string, it marks the alias not
* in use. The problem is synchronization with the parser. Since
* it reads ahead, the alias is marked not in use before the
* resulting token(s) is next checked for further alias sub. The
diff --git a/bin/sh/error.h b/bin/sh/error.h
index eed9c9d..fe6e25e 100644
--- a/bin/sh/error.h
+++ b/bin/sh/error.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)error.h 8.2 (Berkeley) 5/4/95
- * $Id: error.h,v 1.8 1998/08/24 10:20:36 cracauer Exp $
+ * $Id: error.h,v 1.9 1998/08/24 19:15:48 cracauer Exp $
*/
/*
@@ -50,7 +50,7 @@
* We enclose jmp_buf in a structure so that we can declare pointers to
* jump locations. The global variable handler contains the location to
* jump to when an exception occurs, and the global variable exception
- * contains a code identifying the exeception. To implement nested
+ * contains a code identifying the exception. To implement nested
* exception handlers, the user should save the value of handler on entry
* to an inner scope, set handler to point to a jmploc structure for the
* inner scope, and restore handler on exit from the scope.
diff --git a/bin/sh/eval.c b/bin/sh/eval.c
index 7bf92b2..2a1e760 100644
--- a/bin/sh/eval.c
+++ b/bin/sh/eval.c
@@ -39,7 +39,7 @@
static char sccsid[] = "@(#)eval.c 8.9 (Berkeley) 6/8/95";
#endif
static const char rcsid[] =
- "$Id: eval.c,v 1.17 1999/04/03 12:55:51 cracauer Exp $";
+ "$Id: eval.c,v 1.18 1999/04/21 11:52:39 cracauer Exp $";
#endif /* not lint */
#include <signal.h>
@@ -122,7 +122,7 @@ SHELLPROC {
/*
- * The eval commmand.
+ * The eval command.
*/
int
diff --git a/bin/sh/expand.c b/bin/sh/expand.c
index 67a9c8b..e661be6 100644
--- a/bin/sh/expand.c
+++ b/bin/sh/expand.c
@@ -39,7 +39,7 @@
static char sccsid[] = "@(#)expand.c 8.5 (Berkeley) 5/15/95";
#endif
static const char rcsid[] =
- "$Id: expand.c,v 1.26 1999/04/13 04:13:09 tegge Exp $";
+ "$Id: expand.c,v 1.27 1999/04/21 11:52:39 cracauer Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -382,10 +382,10 @@ expari(flag)
/*
- * This routine is slightly over-compilcated for
+ * This routine is slightly over-complicated for
* efficiency. First we make sure there is
* enough space for the result, which may be bigger
- * than the expression if we add exponentation. Next we
+ * than the expression if we add exponentiation. Next we
* scan backwards looking for the start of arithmetic. If the
* next previous character is a CTLESC character, then we
* have to rescan starting from the beginning since CTLESC
diff --git a/bin/sh/jobs.c b/bin/sh/jobs.c
index 07d7e16..ce1785b 100644
--- a/bin/sh/jobs.c
+++ b/bin/sh/jobs.c
@@ -39,7 +39,7 @@
static char sccsid[] = "@(#)jobs.c 8.5 (Berkeley) 5/4/95";
#endif
static const char rcsid[] =
- "$Id: jobs.c,v 1.23 1998/09/08 13:16:52 cracauer Exp $";
+ "$Id: jobs.c,v 1.24 1999/04/21 11:52:39 cracauer Exp $";
#endif /* not lint */
#include <fcntl.h>
@@ -693,7 +693,7 @@ forkshell(jp, n, mode)
* the interactive program catches interrupts, the user doesn't want
* these interrupts to also abort the loop. The approach we take here
* is to have the shell ignore interrupt signals while waiting for a
- * forground process to terminate, and then send itself an interrupt
+ * foreground process to terminate, and then send itself an interrupt
* signal if the child process was terminated by an interrupt signal.
* Unfortunately, some programs want to do a bit of cleanup and then
* exit on interrupt; unless these processes terminate themselves by
diff --git a/bin/sh/main.c b/bin/sh/main.c
index 3cd49d2..f91f1ab 100644
--- a/bin/sh/main.c
+++ b/bin/sh/main.c
@@ -45,7 +45,7 @@ static char const copyright[] =
static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/28/95";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: main.c,v 1.15 1998/05/18 06:43:52 charnier Exp $";
#endif /* not lint */
#include <stdio.h>
@@ -309,7 +309,7 @@ readcmdfile(name)
/*
- * Take commands from a file. To be compatable we should do a path
+ * Take commands from a file. To be compatible we should do a path
* search for the file, which is necessary to find sub-commands.
*/
diff --git a/bin/sh/miscbltin.c b/bin/sh/miscbltin.c
index 4daacac..4c8d96f 100644
--- a/bin/sh/miscbltin.c
+++ b/bin/sh/miscbltin.c
@@ -39,11 +39,11 @@
static char sccsid[] = "@(#)miscbltin.c 8.4 (Berkeley) 5/4/95";
#endif
static const char rcsid[] =
- "$Id: miscbltin.c,v 1.17 1998/08/25 09:33:34 cracauer Exp $";
+ "$Id: miscbltin.c,v 1.18 1998/12/16 04:45:35 imp Exp $";
#endif /* not lint */
/*
- * Miscelaneous builtins.
+ * Miscellaneous builtins.
*/
#include <sys/types.h>
diff --git a/bin/sh/trap.c b/bin/sh/trap.c
index 429253c..2a6b88a 100644
--- a/bin/sh/trap.c
+++ b/bin/sh/trap.c
@@ -39,7 +39,7 @@
static char sccsid[] = "@(#)trap.c 8.5 (Berkeley) 6/5/95";
#endif
static const char rcsid[] =
- "$Id: trap.c,v 1.17 1998/09/10 22:09:11 cracauer Exp $";
+ "$Id: trap.c,v 1.18 1999/04/01 13:27:36 cracauer Exp $";
#endif /* not lint */
#include <signal.h>
@@ -70,7 +70,7 @@ static const char rcsid[] =
#define S_DFL 1 /* default signal handling (SIG_DFL) */
#define S_CATCH 2 /* signal is caught */
#define S_IGN 3 /* signal is ignored (SIG_IGN) */
-#define S_HARD_IGN 4 /* signal is ignored permenantly */
+#define S_HARD_IGN 4 /* signal is ignored permanently */
#define S_RESET 5 /* temporary - to reset a hard ignored sig */
OpenPOWER on IntegriCloud