From 713dd62834d401cc7b9b394a4b916ab9e5e3d4d5 Mon Sep 17 00:00:00 2001 From: kris Date: Sat, 8 May 1999 10:22:15 +0000 Subject: Various spelling/formatting changes. Submitted by: Philippe Charnier --- bin/csh/csh.1 | 4 ++-- bin/csh/csh.c | 4 ++-- bin/csh/csh.h | 6 +++--- bin/csh/err.c | 4 ++-- bin/csh/func.c | 4 ++-- bin/csh/lex.c | 4 ++-- bin/csh/proc.c | 4 ++-- bin/csh/sem.c | 4 ++-- bin/csh/set.c | 8 ++++---- bin/csh/time.c | 6 +++--- 10 files changed, 24 insertions(+), 24 deletions(-) (limited to 'bin/csh') diff --git a/bin/csh/csh.1 b/bin/csh/csh.1 index 904aadd..abdc4e8 100644 --- a/bin/csh/csh.1 +++ b/bin/csh/csh.1 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)csh.1 8.2 (Berkeley) 1/21/94 -.\" $Id: csh.1,v 1.10 1998/05/06 06:50:38 charnier Exp $ +.\" $Id: csh.1,v 1.11 1998/07/27 21:31:19 nectar Exp $ .\" .Dd January 21, 1994 .Dt CSH 1 @@ -2167,7 +2167,7 @@ and user name completion (see and a C-like syntax. There are now many shells that also have these mechanisms, plus a few more (and maybe some bugs too), which are available through the -usenet. +Usenet. .Sh BUGS When a command is restarted from a stop, the shell prints the directory it started in if this is different diff --git a/bin/csh/csh.c b/bin/csh/csh.c index 46b792c..e879e5c 100644 --- a/bin/csh/csh.c +++ b/bin/csh/csh.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)csh.c 8.2 (Berkeley) 10/12/93"; #else static const char rcsid[] = - "$Id: csh.c,v 1.12 1997/12/10 22:18:21 eivind Exp $"; + "$Id: csh.c,v 1.13 1998/02/28 10:49:52 jraynard Exp $"; #endif #endif /* not lint */ @@ -1223,7 +1223,7 @@ gethdir(home) /* * When didfds is set, we do I/O from 0, 1, 2 otherwise from 15, 16, 17 - * We also check if the shell has already changed the decriptor to point to + * We also check if the shell has already changed the descriptor to point to * 0, 1, 2 when didfds is set. */ #define DESC(a) (*((int *) (a)) - (didfds && *((int *) a) >= FSHIN ? FSHIN : 0)) diff --git a/bin/csh/csh.h b/bin/csh/csh.h index f88f622..7193dcb 100644 --- a/bin/csh/csh.h +++ b/bin/csh/csh.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)csh.h 8.1 (Berkeley) 5/31/93 - * $Id: csh.h,v 1.5 1997/08/07 21:42:04 steve Exp $ + * $Id: csh.h,v 1.6 1997/08/08 00:53:59 steve Exp $ */ /* @@ -306,7 +306,7 @@ Char *lap; * * Each command is parsed to a tree of command structures and * flags are set bottom up during this process, to be propagated down - * as needed during the semantics/exeuction pass (sh.sem.c). + * as needed during the semantics/execution pass (sh.sem.c). */ struct command { short t_dtyp; /* Type of node */ @@ -535,7 +535,7 @@ Char **evalvec; Char *evalp; /* word_chars is set by default to WORD_CHARS but can be overridden by - the worchars variable--if unset, reverts to WORD_CHARS */ + the wordchars variable--if unset, reverts to WORD_CHARS */ Char *word_chars; diff --git a/bin/csh/err.c b/bin/csh/err.c index f1770fb..82b03a1 100644 --- a/bin/csh/err.c +++ b/bin/csh/err.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 5/31/93"; #else static const char rcsid[] = - "$Id: err.c,v 1.7 1998/05/06 06:50:41 charnier Exp $"; + "$Id: err.c,v 1.8 1998/05/13 07:28:55 charnier Exp $"; #endif #endif /* not lint */ @@ -327,7 +327,7 @@ seterror(id, va_alist) * in bname * * This routine always resets or exits. The flag haderr - * is set so the routine who catches the unwind can propogate + * is set so the routine who catches the unwind can propagate * it if they want. * * Note that any open files at the point of error will eventually diff --git a/bin/csh/func.c b/bin/csh/func.c index f5cbe52..0b1326a 100644 --- a/bin/csh/func.c +++ b/bin/csh/func.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)func.c 8.1 (Berkeley) 5/31/93"; #else static const char rcsid[] = - "$Id: func.c,v 1.11 1998/07/27 21:15:52 nectar Exp $"; + "$Id: func.c,v 1.12 1999/04/25 21:13:32 imp Exp $"; #endif #endif /* not lint */ @@ -1397,7 +1397,7 @@ dosuspend(v, t) /* This is the dreaded EVAL built-in. * If you don't fiddle with file descriptors, and reset didfds, * this command will either ignore redirection inside or outside - * its aguments, e.g. eval "date >x" vs. eval "date" >x + * its arguments, e.g. eval "date >x" vs. eval "date" >x * The stuff here seems to work, but I did it by trial and error rather * than really knowing what was going on. If tpgrp is zero, we are * probably a background eval, e.g. "eval date &", and we want to diff --git a/bin/csh/lex.c b/bin/csh/lex.c index 56acc41..c234b98 100644 --- a/bin/csh/lex.c +++ b/bin/csh/lex.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)lex.c 8.1 (Berkeley) 5/31/93"; #else static const char rcsid[] = - "$Id: lex.c,v 1.10 1998/05/13 07:29:05 charnier Exp $"; + "$Id: lex.c,v 1.11 1999/04/25 21:13:32 imp Exp $"; #endif #endif /* not lint */ @@ -1179,7 +1179,7 @@ gethent(sc) case '-': back = 1; c = getC(0); - /* FALLSTHROUGH */ + /* FALLTHROUGH */ default: if (any("(=~", c)) { diff --git a/bin/csh/proc.c b/bin/csh/proc.c index 776b056..503681b 100644 --- a/bin/csh/proc.c +++ b/bin/csh/proc.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)proc.c 8.1 (Berkeley) 5/31/93"; #else static const char rcsid[] = - "$Id: proc.c,v 1.8 1998/02/28 10:49:59 jraynard Exp $"; + "$Id: proc.c,v 1.9 1998/05/06 06:50:58 charnier Exp $"; #endif #endif /* not lint */ @@ -76,7 +76,7 @@ static void okpcntl __P((void)); * pchild - called at interrupt level by the SIGCHLD signal * indicating that at least one child has terminated or stopped * thus at least one wait system call will definitely return a - * childs status. Top level routines (like pwait) must be sure + * child's status. Top level routines (like pwait) must be sure * to mask interrupts when playing with the proclist data structures! */ /* ARGUSED */ diff --git a/bin/csh/sem.c b/bin/csh/sem.c index f9fedda..33047f7 100644 --- a/bin/csh/sem.c +++ b/bin/csh/sem.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)sem.c 8.1 (Berkeley) 5/31/93"; #else static const char rcsid[] = - "$Id: sem.c,v 1.8 1998/05/06 06:51:00 charnier Exp $"; + "$Id: sem.c,v 1.9 1999/04/25 21:13:32 imp Exp $"; #endif #endif /* not lint */ @@ -472,7 +472,7 @@ int i; * If more than one word is generated, then update the command vector. * * This is done differently in all the shells: - * 1. in the bourne shell and ksh globbing is not performed + * 1. in the Bourne shell and ksh globbing is not performed * 2. Bash/csh say ambiguous * 3. zsh does i/o to/from all the files * 4. itcsh concatenates the words. diff --git a/bin/csh/set.c b/bin/csh/set.c index c3745e6..82785d1 100644 --- a/bin/csh/set.c +++ b/bin/csh/set.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)set.c 8.1 (Berkeley) 5/31/93"; #else static const char rcsid[] = - "$Id: set.c,v 1.9 1998/05/06 06:51:04 charnier Exp $"; + "$Id: set.c,v 1.10 1998/05/13 07:29:15 charnier Exp $"; #endif #endif /* not lint */ @@ -163,7 +163,7 @@ doset(v, t) cp = Strsave(value(vp)); /* get the old value back */ /* - * convert to cononical pathname (possibly resolving symlinks) + * convert to canonical pathname (possibly resolving symlinks) */ cp = dcanon(cp, cp); @@ -745,7 +745,7 @@ balance(p, f, d) break; case 1: /* was already right heavy */ switch (p->v_right->v_bal) { - case 1: /* sigle rotate */ + case 1: /* single rotate */ pp->v_link[ff] = rleft(p); p->v_left->v_bal = 0; p->v_bal = 0; @@ -783,7 +783,7 @@ balance(p, f, d) p->v_right->v_bal = 0; p->v_bal = 0; break; - case 0: /* signle rotate */ + case 0: /* single rotate */ pp->v_link[ff] = rright(p); p->v_right->v_bal = -1; p->v_bal = 1; diff --git a/bin/csh/time.c b/bin/csh/time.c index 1d9b37e..95620ff 100644 --- a/bin/csh/time.c +++ b/bin/csh/time.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)time.c 8.1 (Berkeley) 5/31/93"; #else static const char rcsid[] = - "$Id: time.c,v 1.7 1997/02/22 14:02:09 peter Exp $"; + "$Id: time.c,v 1.8 1997/08/07 21:42:17 steve Exp $"; #endif #endif /* not lint */ @@ -219,7 +219,7 @@ prusage(r0, r1, e, b) (void) fprintf(cshout, "%ld", r1->ru_oublock - r0->ru_oublock); break; - case 'r': /* socket messages recieved */ + case 'r': /* socket messages received */ (void) fprintf(cshout, "%ld", r1->ru_msgrcv - r0->ru_msgrcv); break; @@ -227,7 +227,7 @@ prusage(r0, r1, e, b) (void) fprintf(cshout, "%ld", r1->ru_msgsnd - r0->ru_msgsnd); break; - case 'k': /* number of signals recieved */ + case 'k': /* number of signals received */ (void) fprintf(cshout, "%ld", r1->ru_nsignals-r0->ru_nsignals); break; -- cgit v1.1