summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Lyda <kevin@ie.suberic.net>2012-04-18 00:38:04 +0100
committerPádraig Brady <P@draigBrady.com>2012-05-08 02:18:39 +0100
commitaa078afcf9828344697ef0469272657ac12a30b1 (patch)
tree85ee107a3d3e835ed991d5b8904907505c685912 /src
parentfedebc59a040a7e34dce5c987b7f6fcf2cefa904 (diff)
downloadcoreutils-aa078afcf9828344697ef0469272657ac12a30b1.tar.xz
maint: fix common spelling errors
These were identified using: https://github.com/lyda/misspell-check executed like: git ls-files | misspellings -f - * src/cat.c: Correct a spelling error. * src/comm.c: Likewise. * src/expr.c: Likewise. * src/pr.c: Likewise. * src/tac.c: Likewise. * src/test.c: Likewise. * src/ChangeLog-2005: Likewise. * src/ChangeLog-2007: Likewise. * src/NEWS: Likewise. * src/doc/coreutils.texi: Likewise. * src/lib/ChangeLog-2007: Likewise. * src/man/help2man: Likewise. * src/old/fileutils/ChangeLog-1997: Likewise. * src/old/fileutils/NEWS: Likewise. * src/old/sh-utils/ChangeLog.0: Likewise. * src/old/textutils/ChangeLog: Likewise. * src/tests/misc/comm: Likewise. * src/tests/misc/uniq: Likewise. * src/tests/mv/dir2dir: Likewise. * src/cfg.mk (old_NEWS_hash): update with `make update-NEWS-hash`
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