summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2020-05-20 16:08:36 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2020-05-28 21:34:15 +1000
commitc09c60ae76a4262f645fc8f4c7569d3d97d1a37d (patch)
tree41bb47ff70b6fcd068f381116e029d4101f93d27
parentparser: Save and restore heredoclist in expandstr (diff)
downloaddash-c09c60ae76a4262f645fc8f4c7569d3d97d1a37d.tar.gz
dash-c09c60ae76a4262f645fc8f4c7569d3d97d1a37d.zip
shell: Fix typos
Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--src/TOUR4
-rw-r--r--src/jobs.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/TOUR b/src/TOUR
index 056e79b..e30836e 100644
--- a/src/TOUR
+++ b/src/TOUR
@@ -100,7 +100,7 @@ string was going to be:
         p = stackptr;
         *p++ = c;       /* repeated as many times as needed */
         stackptr = p;
-The folloing three macros (defined in memalloc.h) perform these
+The following three macros (defined in memalloc.h) perform these
 operations, but grow the stack if you run off the end:
         STARTSTACKSTR(p);
         STPUTC(c, p);   /* repeated as many times as needed */
@@ -198,7 +198,7 @@ EXECUTION:  Command execution is handled by the following files:
         eval.c     The top level routines.
         redir.c    Code to handle redirection of input and output.
         jobs.c     Code to handle forking, waiting, and job control.
-        exec.c     Code to to path searches and the actual exec sys call.
+        exec.c     Code to path searches and the actual exec sys call.
         expand.c   Code to evaluate arguments.
         var.c      Maintains the variable symbol table.  Called from expand.c.
 
diff --git a/src/jobs.c b/src/jobs.c
index f65435d..0926360 100644
--- a/src/jobs.c
+++ b/src/jobs.c
@@ -557,7 +557,7 @@ showjobs(struct output *out, int mode)
 
 	TRACE(("showjobs(%x) called\n", mode));
 
-	/* If not even one one job changed, there is nothing to do */
+	/* If not even one job changed, there is nothing to do */
 	dowait(DOWAIT_NONBLOCK, NULL);
 
 	for (jp = curjob; jp; jp = jp->prev_job) {
href='/src/commit/home/.config/X/resources?id=d5d5aed9442b8d883a257b73b2e0cced6c29576a&follow=1'>Set urgency on bell in xtermJune McEnroe 2021-02-07Add bindings for brightness controlJune McEnroe Weirdly the Fn key doesn't change how the F row registers... I wonder if I can do something about that. 2021-02-07Set X key repeat rateJune McEnroe 2021-02-07Bump font size to 12June McEnroe 11 is what I use on macOS, but I feel like my eyes are working harder here. 2021-02-07Fully configure and rebind cwmJune McEnroe This is sort of a mix of trying to emulate macOS somewhat for my muscle memory and just rebinding some of the cwm defaults to use 4- rather than M-. 2021-02-07Add BintiJune McEnroe 2021-02-07Finish configuring xtermJune McEnroe 2021-02-06Enable tapping, reverse scroll, set scaling in wsconsctlJune McEnroe 2021-02-06Set root window to black on purple snowJune McEnroe 2021-02-06Add xmodmap configurationJune McEnroe 2021-02-06Add initial OpenBSD X configurationJune McEnroe cwm still needs a lot more rebinding, and I need to actually look at its other options. xterm definitely still needs some configuration, but I at least managed to get it to use a decent looking font. Very happy that OpenBSD includes Luxi Mono, which is what my usual font, Go Mono, is based on anyway. Still missing is xmodmap and such. 2021-02-06Add xterm output to schemeJune McEnroe