From 93eed7bc352d7c5f26097c70b3ee324c9f4947ca Mon Sep 17 00:00:00 2001 From: axel Date: Sat, 8 Oct 2005 19:33:10 +1000 Subject: [PATCH] Spelling fixes darcs-hash:20051008093310-ac50b-077bd66d4b2c3f98de421e04b125f0d89e9d503a.gz --- builtin.c | 2 +- doc_src/count.txt | 2 +- doc_src/set.txt | 2 +- input.c | 2 +- parser.c | 2 +- proc.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/builtin.c b/builtin.c index 113b35fb5..aaa3db587 100644 --- a/builtin.c +++ b/builtin.c @@ -1962,7 +1962,7 @@ static int builtin_source( wchar_t ** argv ) /** Make the specified job the first job of the job list. Moving jobs around in the list makes the list reflect the order in which the - jobs where used. + jobs were used. */ static void make_first( job_t *j ) { diff --git a/doc_src/count.txt b/doc_src/count.txt index 11009dd81..db0a4baca 100644 --- a/doc_src/count.txt +++ b/doc_src/count.txt @@ -6,7 +6,7 @@ \subsection count-description Description -count returns the number of arguments that where passed to +count returns the number of arguments that were passed to it. This is usually used to find out how many elements an environment variable array contains, but this is not the only potential usage for the count command. diff --git a/doc_src/set.txt b/doc_src/set.txt index c99af1c80..c06e62fa5 100644 --- a/doc_src/set.txt +++ b/doc_src/set.txt @@ -10,7 +10,7 @@ The set builtin causes fish to assign the variable VARIABLE_NAME-g or --global causes the specified environment variable to be made global. If this option is not supplied, the specified variable will dissapear when the current block ends - -l or --local forces the specified environment variable to be made local to the current block, even if the variable already exists and is non-local - -n or --names List only the names of all defined variables -- -q or --query test if the specified variable names are defined. Does not output anything, but the builtins exit status is the number of variables specified that where not defined. +- -q or --query test if the specified variable names are defined. Does not output anything, but the builtins exit status is the number of variables specified that were not defined. - -u or --unexport causes the specified environment not to be exported to child processes - -U or --universal causes the specified environment variable to be made universal. If this option is supplied, the variable will be shared between all the current users fish instances on the current computer, and will be preserved across restarts of the shell. - -x or --export causes the specified environment variable to be exported to child processes diff --git a/input.c b/input.c index d609b8631..41578ae2c 100644 --- a/input.c +++ b/input.c @@ -201,7 +201,7 @@ static int inputrc_skip_block_count=0; static int inputrc_block_count=0; /** - True if syntax errors where found in the inputrc file + True if syntax errors were found in the inputrc file */ static int inputrc_error = 0; diff --git a/parser.c b/parser.c index 715d3e9e0..e4e3f3b8b 100644 --- a/parser.c +++ b/parser.c @@ -75,7 +75,7 @@ The fish parser. Contains functions for parsing code. /** Error message used when the end of a block can't be located */ -#define BLOCK_END_ERR_MSG L"Could not locate end of block. The 'end' command is missing, misspelled or a preceeding ';' is missing." +#define BLOCK_END_ERR_MSG L"Could not locate end of block. The 'end' command is missing, misspelled or a preceding ';' is missing." /** Error message on reaching maximum number of block calls diff --git a/proc.c b/proc.c index 324bf4591..b4cfd27f4 100644 --- a/proc.c +++ b/proc.c @@ -735,7 +735,7 @@ void proc_update_jiffies() Check if there are buffers associated with the job, and select on them for a while if available. - \return 1 if buffers where avaialble, zero otherwise + \return 1 if buffers were avaialble, zero otherwise */ static int select_try( job_t *j ) {