summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cat.c4
-rw-r--r--src/comm.c2
-rw-r--r--src/expr.c2
-rw-r--r--src/pr.c2
-rw-r--r--src/tac.c2
-rw-r--r--src/test.c2
6 files changed, 7 insertions, 7 deletions
diff --git a/src/cat.c b/src/cat.c
index 41a1b4157..9e901e0c9 100644
--- a/src/cat.c
+++ b/src/cat.c
@@ -751,8 +751,8 @@ main (int argc, char **argv)
A line number requires seldom more than LINE_COUNTER_BUF_LEN
positions.
- Align the output buffer to a page size boundary, for efficency on
- some paging implementations, so add PAGE_SIZE - 1 bytes to the
+ Align the output buffer to a page size boundary, for efficiency
+ on some paging implementations, so add PAGE_SIZE - 1 bytes to the
request to make room for the alignment. */
outbuf = xmalloc (outsize - 1 + insize * 4 + LINE_COUNTER_BUF_LEN
diff --git a/src/comm.c b/src/comm.c
index 04422d66f..748147aa9 100644
--- a/src/comm.c
+++ b/src/comm.c
@@ -193,7 +193,7 @@ writeline (struct linebuffer const *line, FILE *stream, int class)
A message is printed at most once per input file.
- This funtion was copied (nearly) verbatim from 'src/join.c'. */
+ This function was copied (nearly) verbatim from 'src/join.c'. */
static void
check_order (struct linebuffer const *prev,
diff --git a/src/expr.c b/src/expr.c
index 536801048..700e4afd8 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -18,7 +18,7 @@
Modified for arbitrary-precision calculation by James Youngman.
This program evaluates expressions. Each token (operator, operand,
- parenthesis) of the expression must be a seperate argument. The
+ parenthesis) of the expression must be a separate argument. The
parser used is a reasonably general one, though any incarnation of
it is language-specific. It is especially nice for expressions.
diff --git a/src/pr.c b/src/pr.c
index 2ea586d29..e97c43445 100644
--- a/src/pr.c
+++ b/src/pr.c
@@ -1413,7 +1413,7 @@ init_funcs (void)
else
{
/* When numbering lines of parallel files, we enlarge the
- first column to accomodate the number. Looks better than
+ first column to accommodate the number. Looks better than
the Sys V approach. */
if (parallel_files && numbered_lines)
h_next = h + chars_per_column + number_width;
diff --git a/src/tac.c b/src/tac.c
index 2bf8ad21d..8bef44391 100644
--- a/src/tac.c
+++ b/src/tac.c
@@ -339,7 +339,7 @@ tac_seekable (int input_fd, const char *file)
The source and destination regions probably overlap. */
memmove (G_buffer + read_size, G_buffer, saved_record_size);
past_end = G_buffer + read_size + saved_record_size;
- /* For non-regexp searches, avoid unneccessary scanning. */
+ /* For non-regexp searches, avoid unnecessary scanning. */
if (sentinel_length)
match_start = G_buffer + read_size;
else
diff --git a/src/test.c b/src/test.c
index 31a64207a..45f2206b2 100644
--- a/src/test.c
+++ b/src/test.c
@@ -94,7 +94,7 @@ test_syntax_error (char const *format, char const *arg)
}
/* Increment our position in the argument list. Check that we're not
- past the end of the argument list. This check is supressed if the
+ past the end of the argument list. This check is suppressed if the
argument is false. */
static void