diff options
-rw-r--r-- | doc_src/and.txt | 2 | ||||
-rw-r--r-- | doc_src/begin.txt | 4 | ||||
-rw-r--r-- | doc_src/break.txt | 2 | ||||
-rw-r--r-- | doc_src/case.txt | 2 | ||||
-rw-r--r-- | doc_src/commandline.txt | 4 | ||||
-rw-r--r-- | doc_src/complete.txt | 14 | ||||
-rw-r--r-- | doc_src/exec.txt | 4 | ||||
-rw-r--r-- | doc_src/fishd.txt | 12 | ||||
-rw-r--r-- | doc_src/function.txt | 18 | ||||
-rw-r--r-- | doc_src/help.txt | 2 | ||||
-rw-r--r-- | doc_src/jobs.txt | 4 | ||||
-rw-r--r-- | doc_src/set.txt | 6 | ||||
-rw-r--r-- | doc_src/status.txt | 4 | ||||
-rw-r--r-- | doc_src/switch.txt | 6 | ||||
-rw-r--r-- | doc_src/trap.txt | 6 | ||||
-rw-r--r-- | doc_src/type.txt | 4 | ||||
-rw-r--r-- | doc_src/ulimit.txt | 4 | ||||
-rw-r--r-- | doc_src/umask.txt | 8 |
18 files changed, 53 insertions, 53 deletions
diff --git a/doc_src/and.txt b/doc_src/and.txt index 9de49192..4d45ea9c 100644 --- a/doc_src/and.txt +++ b/doc_src/and.txt @@ -10,7 +10,7 @@ The \c and builtin is used to execute a command if the current exit status (as s \subsection and-example Example -The following code runs the \c make command to build a program, and if it suceeds, it runs <tt>make install</tt>, which installs the program. +The following code runs the \c make command to build a program, and if it succeeds, it runs <tt>make install</tt>, which installs the program. <pre> make; and make install </pre> diff --git a/doc_src/begin.txt b/doc_src/begin.txt index 02284f21..b955376d 100644 --- a/doc_src/begin.txt +++ b/doc_src/begin.txt @@ -7,10 +7,10 @@ \subsection begin-description Description The \c begin builtin is used to create a new block of code. The block -is unconditionally erxecuted. Begin is equivalent to <tt>if +is unconditionally executed. Begin is equivalent to <tt>if true</tt>. The begin command is used to group any number of commands into a block. The reason for this is usually either to introduce a new -variable scope or to redirect the input ot output of this set of +variable scope or to redirect the input to output of this set of commands as a group. \subsection begin-example Example diff --git a/doc_src/break.txt b/doc_src/break.txt index 03e8a416..ebeb4adc 100644 --- a/doc_src/break.txt +++ b/doc_src/break.txt @@ -8,7 +8,7 @@ The \c break builtin is used to halt a currently running loop, such as a <a href="#for">for</a> loop or a <a href="#while">while</a> loop. It is usually added inside of a conditional block such as an <a href="#if">if</a> statement or a <a href="#switch">switch</a> statement. \subsection break-example Example -The following code searches all .c files for smurfs, and halts at the first occurance. +The following code searches all .c files for smurfs, and halts at the first occurrence. <p> <tt>for i in *.c; <br> if grep smurf $i; diff --git a/doc_src/case.txt b/doc_src/case.txt index 44246c9b..209e87de 100644 --- a/doc_src/case.txt +++ b/doc_src/case.txt @@ -23,7 +23,7 @@ switch $animal echo evil case wolf dog human moose dolphin whale echo mammal - case duck goose albatros + case duck goose albatross echo bird case shark trout stingray echo fish diff --git a/doc_src/commandline.txt b/doc_src/commandline.txt index 2f9ec02c..c2434d54 100644 --- a/doc_src/commandline.txt +++ b/doc_src/commandline.txt @@ -25,14 +25,14 @@ or updated - \c -b or \c --current-buffer select the entire buffer (default) - \c -j or \c --current-job select the current job - \c -p or \c --current-process select the current process -- \c -t or \c --current_token select the current token. +- \c -t or \c --current_token select the current token. The following switch changes the way \c commandline prints the current commandline - \c -c or \c --cut-at-cursor only print selection up until the current cursor position -- \c o or \c --tokenize tokenize the selection and print one string-type token per line +- \c -o or \c --tokenize tokenize the selection and print one string-type token per line Other switches diff --git a/doc_src/complete.txt b/doc_src/complete.txt index ecb6bf99..3dced451 100644 --- a/doc_src/complete.txt +++ b/doc_src/complete.txt @@ -1,4 +1,4 @@ -\section complete complete - edit command specific tab-completions. +\section complete complete - edit command specific tab-completions. \subsection complete-synopsis Synopsis <tt>complete (-c|--command|-p|--path) COMMAND [(-s|--short-option) SHORT_OPTION] [(-l|--long-option|-o|--old-option) LONG_OPTION [(-a||--arguments) OPTION_ARGUMENTS] [(-d|--description) DESCRIPTION] </tt> @@ -16,8 +16,8 @@ the fish manual. - <tt>DESCRIPTION</tt> is a description of what the option and/or option arguments do - <tt>-e</tt> or <tt>--erase</tt> implies that the specified completion should be deleted - <tt>-f</tt> or <tt>--no-files</tt> specifies that the option specified by this completion may not be followed by a filename -- <tt>-n</tt> or <tt>--condition</tt> specides a shell command that must return 0 if the completion is to be used. This makes it possible to specify completions that should only be used in some cases. -- <tt>-o</tt> or <tt>--old-option</tt> implies that the command uses old long style options with only one dash +- <tt>-n</tt> or <tt>--condition</tt> specifies a shell command that must return 0 if the completion is to be used. This makes it possible to specify completions that should only be used in some cases. +- <tt>-o</tt> or <tt>--old-option</tt> implies that the command uses old long style options with only one dash - <tt>-p</tt> or <tt>--path</tt> implies that the string COMMAND is the full path of the command - <tt>-r</tt> or <tt>--require-parameter</tt> specifies that the option specified by this completion always must have an option argument, i.e. may not be followed by another option - <tt>-u</tt> or <tt>--unauthorative</tt> implies that there may be more options than the ones specified, and that fish should not assume that options not listed are spelling errors @@ -30,9 +30,9 @@ that do not begin with a hyphen. Fish recognizes three styles of options, the same styles as the GNU version of the getopt library. These styles are: -- Short options, like '-a'. Short options are a single character long, are preceeded by a single hyphen and may ge grouped together (like '-la', which is equivalent to '-l -a'). Option arguments may be specified in the following parameter ('-w 32') or by appending the option with the value ('-w32'). -- Old style long options, like '-Wall'. Old style long options are more than one character long, are preceeded by a single hyphen and may not be grouped together. Option arguments are specified in the following parameter ('-ao null'). -- GNU style long options, like '--colors'. GNU style long options are more than one character long, are preceeded by two hyphens, and may not be grouped together. Option arguments may be specified in the following parameter ('--quoting-style shell') or by appending the option with a '=' and the value ('--quoting-style=shell'). GNU style long options may be abbrevated so long as the abbrevation is unique ('--h' is equivalent to '--help' if help is the only long option beginning with an 'h'). +- Short options, like '-a'. Short options are a single character long, are preceded by a single hyphen and may be grouped together (like '-la', which is equivalent to '-l -a'). Option arguments may be specified in the following parameter ('-w 32') or by appending the option with the value ('-w32'). +- Old style long options, like '-Wall'. Old style long options are more than one character long, are preceded by a single hyphen and may not be grouped together. Option arguments are specified in the following parameter ('-ao null'). +- GNU style long options, like '--colors'. GNU style long options are more than one character long, are preceded by two hyphens, and may not be grouped together. Option arguments may be specified in the following parameter ('--quoting-style shell') or by appending the option with a '=' and the value ('--quoting-style=shell'). GNU style long options may be abbreviated so long as the abbreviation is unique ('--h' is equivalent to '--help' if help is the only long option beginning with an 'h'). The options for specifying command name, command path, or command switches may all be used multiple times to specify multiple commands @@ -71,5 +71,5 @@ This can be written as: "Don't check dependencies"</tt> where \c __fish_contains_opt is a function that checks the commandline -buffer for the presense of a specified set of options. +buffer for the presence of a specified set of options. diff --git a/doc_src/exec.txt b/doc_src/exec.txt index 668d470b..c915b58b 100644 --- a/doc_src/exec.txt +++ b/doc_src/exec.txt @@ -7,8 +7,8 @@ \subsection exec-description Description The \c exec builtin is used to replace the currently running shells -process image with a new command. On sucessfull completion, exec never -returns. exec can not be used inside a pipeline. +process image with a new command. On successful completion, exec never +returns. exec can not be used inside a pipeline. \subsection exec-example Example diff --git a/doc_src/fishd.txt b/doc_src/fishd.txt index 2c890150..9756b5f4 100644 --- a/doc_src/fishd.txt +++ b/doc_src/fishd.txt @@ -7,15 +7,15 @@ \subsection fishd-description Description The \c fishd daemon is used to load, save and distribute universal -variable information. fish automtically connects to fishd via a socket +variable information. fish automatically connects to fishd via a socket on startup. If no instance of fishd is running, fish spawns a new fishd instance. fishd will create a socket in /tmp, and wait for -incoming connections from universal variable clents, such as fish, +incoming connections from universal variable clients, such as fish, When no clients are connected, fishd will automatically shut down. \subsection fishd-commands Commands -Fishd works by sending and recieving sommands. Each command is ended +Fishd works by sending and receiving commands. Each command is ended with a newline. These are the commands supported by fishd: <pre>set KEY:VALUE @@ -38,14 +38,14 @@ Erase the variable with the specified name. barrier_reply </pre> -A \c barrier command will result in a barrier_reply beeing added to +A \c barrier command will result in a barrier_reply being added to the end of the senders queue of unsent messages. These commands are used to synchronize clients, since once the reply for a barrier message returns, the sender can know that any updates available at the -time the original barrier request was sent have been recieved. +time the original barrier request was sent have been received. \subsection fishd-files Files -~/.fishd.HOSTNAME permenent storage location for universal variale +~/.fishd.HOSTNAME permanent storage location for universal variable data. The data is stored as a set of \c set and \c set_export commands such as would be parsed by fishd. diff --git a/doc_src/function.txt b/doc_src/function.txt index 6e55e0d9..6d121cb7 100644 --- a/doc_src/function.txt +++ b/doc_src/function.txt @@ -5,22 +5,22 @@ \subsection function-description Description -- \c -b or \c --key-binding specifies that the function is a key biding. Key binding functions work exactly like regular functions except that they can not be tab-completed, and may contain the '-' character. +- \c -b or \c --key-binding specifies that the function is a key biding. Key binding functions work exactly like regular functions except that they can not be tab-completed, and may contain the '-' character. - <tt>-d DESCRIPTION</tt> or \c --description=DESCRIPTION is a description of what the function does, suitable as a completion description - <tt>-j PID</tt> or <tt> --on-job-exit PID</tt> tells fish to run this function when the job with group id PID exits - <tt>-p PID</tt> or <tt> --on-process-exit PID</tt> tells fish to run this function when the fish child process with process id PID exits -- <tt>-s</tt> or <tt>--on-signal SIGSPEC</tt> tells fish to run this function when the signal SIGSPEC is delivered. SIGSPEC can be a singal number, or the signal name, such as SIGHUP (or just HUP) +- <tt>-s</tt> or <tt>--on-signal SIGSPEC</tt> tells fish to run this function when the signal SIGSPEC is delivered. SIGSPEC can be a signal number, or the signal name, such as SIGHUP (or just HUP) - <tt>-v</tt> or <tt>--on-variable VARIABLE_NAME</tt> tells fish to run this function when the variable VARIABLE_NAME changes value This builtin command is used to create a new function. A Function is a list of commands that will be executed when the name of the function -is entered. The function +is entered. The function <pre> function hi echo hello end -</pre> +</pre> will write <tt>hello</tt> whenever the user enters \c hi. @@ -29,7 +29,7 @@ are inserted into the environment variable <a href="index.html#variables-arrays" \subsection function-example Example -<pre>function ll +<pre>function ll ls -l $argv end </pre> @@ -39,18 +39,18 @@ will run the \c ls command, using the \c -l option, while passing on any additio <pre> function mkdir -d "Create a directory and set CWD" mkdir $argv - if test $status = 0 + if test $status = 0 switch $argv[(count $argv)] case '-*' - + case '*' cd $argv[(count $argv)] return end end end -</pre> +</pre> -will run the mkdir command, and if it is succesfull, change the +will run the mkdir command, and if it is successful, change the current working directory to the one just created. diff --git a/doc_src/help.txt b/doc_src/help.txt index a097a683..93c9a847 100644 --- a/doc_src/help.txt +++ b/doc_src/help.txt @@ -1,5 +1,5 @@ -\section help help - Display fish documantation +\section help help - Display fish documentation \subsection help-synopsis Synopsis <tt>help [SECTION]</tt> diff --git a/doc_src/jobs.txt b/doc_src/jobs.txt index 5e8c2cac..28a5aa70 100644 --- a/doc_src/jobs.txt +++ b/doc_src/jobs.txt @@ -5,14 +5,14 @@ \subsection jobs-description Description The <tt>jobs</tt> builtin causes fish to print a list of the currently -running jobs and their status. +running jobs and their status. jobs accepts the following switches: - <tt>-c</tt> or <tt>--command</tt> print the command name for each process in jobs - <tt>-g</tt> or <tt>--group</tt> only print the group id of each job - <tt>-l</tt> or <tt>--last</tt> only the last job to be started is printed -- <tt>-p</tt> or <tt>--process</tt> print the procces id for each process in all jobs +- <tt>-p</tt> or <tt>--process</tt> print the process id for each process in all jobs On systems that supports this feature, jobs will print the CPU usage of each job since the last command was executed. The CPU usage is diff --git a/doc_src/set.txt b/doc_src/set.txt index fb9bfbdf..b994cd02 100644 --- a/doc_src/set.txt +++ b/doc_src/set.txt @@ -3,11 +3,11 @@ \subsection set-synopsis Synopsis <code>set [OPTIONS] [VARIABLE_NAME [VALUES...]]</code> -The <code>set</code> builtin causes fish to assign the variable <code>VARIABLE_NAME</code> the values <code>VALUES...</code>. +The <code>set</code> builtin causes fish to assign the variable <code>VARIABLE_NAME</code> the values <code>VALUES...</code>. \subsection set-description Description - <code>-e</code> or <code>--erase</code> causes the specified environment variable to be erased -- <code>-g</code> or <code>--global</code> 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 +- <code>-g</code> or <code>--global</code> causes the specified environment variable to be made global. If this option is not supplied, the specified variable will disappear when the current block ends - <code>-l</code> or <code>--local</code> forces the specified environment variable to be made local to the current block, even if the variable already exists and is non-local - <code>-n</code> or <code>--names</code> List only the names of all defined variables - <code>-q</code> or <code>--query</code> 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. @@ -18,7 +18,7 @@ The <code>set</code> builtin causes fish to assign the variable <code>VARIABLE_N If set is called with no arguments, the names and values of all environment variables are printed. If some of the scope or export flags have been given, only the variables matching the specified scope -are printed. +are printed. If the \c -e or \c --erase option is specified, the variable specified by the following arguments will be erased diff --git a/doc_src/status.txt b/doc_src/status.txt index 84ad4604..08617c6d 100644 --- a/doc_src/status.txt +++ b/doc_src/status.txt @@ -5,7 +5,7 @@ <tt>status [OPTION]</tt> \subsection status-description Description -- <tt>-c</tt> or <tt>--is-command-substitution</tt> returns 0 if fish is currently executing a command usbstitution +- <tt>-c</tt> or <tt>--is-command-substitution</tt> returns 0 if fish is currently executing a command substitution - <tt>-b</tt> or <tt>--is-block</tt> returns 0 if fish is currently executing a block of code - <tt>-i</tt> or <tt>--is-interactive</tt> returns 0 if fish is interactive, i.e.connected to a keyboard -- <tt>-l</tt> or <tt>--is-login</tt> returns 0 if fish is a login shell, i.e. if fish should perform login tasks such as setting up the PATH. +- <tt>-l</tt> or <tt>--is-login</tt> returns 0 if fish is a login shell, i.e. if fish should perform login tasks such as setting up the PATH. diff --git a/doc_src/switch.txt b/doc_src/switch.txt index 06a32450..d94281eb 100644 --- a/doc_src/switch.txt +++ b/doc_src/switch.txt @@ -12,7 +12,7 @@ wildcarded values. \subsection switch-example Example -If the variable \$animal contins the name of an animal, the +If the variable \$animal contains the name of an animal, the following code would attempt to classify it: <p> @@ -22,7 +22,7 @@ switch $animal echo evil case wolf dog human moose dolphin whale echo mammal - case duck goose albatros + case duck goose albatross echo bird case shark trout stingray echo fish @@ -32,6 +32,6 @@ end <p> If the above code was run with \$animal set to \c whale, the output -would be \c mammal. +would be \c mammal. </p> diff --git a/doc_src/trap.txt b/doc_src/trap.txt index dd4d2fe8..2651edd2 100644 --- a/doc_src/trap.txt +++ b/doc_src/trap.txt @@ -1,5 +1,5 @@ -\section trap trap - perform an action when the shell recives a signal +\section trap trap - perform an action when the shell receives a signal \subsection trap-synopsis Synopsis <tt>trap [OPTIONS] [[ARG] SIGSPEC ... ]</tt> @@ -8,10 +8,10 @@ Trap is a shellscript wrapper around the fish event delivery framework. IT is defined for backwards compatibility reasons. For -other uses, it is recomended to define a <a +other uses, it is recommended to define a <a href='index.html#event'>event handler</a>. -- ARG is the command to be executed on signal delivary +- ARG is the command to be executed on signal delivery - SIGSPEC is the name of the signal to trap - \c -h or \c --help Display help and exit - \c -l or \c --list-signals print a list of signal names diff --git a/doc_src/type.txt b/doc_src/type.txt index e24acfc9..2a20f562 100644 --- a/doc_src/type.txt +++ b/doc_src/type.txt @@ -6,11 +6,11 @@ \subsection type-description Description -With no options, indicate how each name would be interpreted if used as a command name. +With no options, indicate how each name would be interpreted if used as a command name. - \c -h or \c --help print this message - \c -a or \c --all print all of possible definitions of the specified names -- \c -f or \c --no-functions supresses function and builtin lookup +- \c -f or \c --no-functions suppresses function and builtin lookup - \c -t or \c --type print a string which is one of alias, keyword, function, builtin, or file if name is an alias, shell reserved word, function, builtin, or disk file, respectively - \c -p or \c --path either return the name of the disk file that would be executed if name were specified as a command name, or nothing if 'type -t name' would not return 'file' - \c -P or \c --force-path either return the name of the disk file that would be executed if name were specified as a command name, or nothing no file with the specified name could be found in the PATH diff --git a/doc_src/ulimit.txt b/doc_src/ulimit.txt index ac21550c..8c2a53d5 100644 --- a/doc_src/ulimit.txt +++ b/doc_src/ulimit.txt @@ -1,5 +1,5 @@ -\section ulimit ulimit - Set or get the shells resurce usage limits +\section ulimit ulimit - Set or get the shells resource usage limits \subsection ulimit-synopsis Synopsis <tt>ulimit [OPTIONS] [LIMIT]</tt> @@ -38,7 +38,7 @@ except for -t, which is in seconds and -n and -u, which are unscaled values. The return status is 0 unless an invalid option or argument is supplied, or an error occurs while setting a new limit. -The fish implementation of ulimit should behave identically to the implementation in bash, except for these differences: +The fish implementation of ulimit should behave identically to the implementation in bash, except for these differences: - Fish ulimit supports GNU-style long options for all switches - Fish ulimit does not support the -p option for getting the pipe size. The bash implementation consists of a compile-time check that empirically guesses this number by writing to a pipe and waiting for SIGPIPE. diff --git a/doc_src/umask.txt b/doc_src/umask.txt index b355135b..793ef1f4 100644 --- a/doc_src/umask.txt +++ b/doc_src/umask.txt @@ -1,5 +1,5 @@ -\section umask umask - Set or get the shells resurce usage limits +\section umask umask - Set or get the shells resource usage limits \subsection umask-synopsis Synopsis <code>umask [OPTIONS] [MASK]</code> @@ -10,7 +10,7 @@ With no argument, the current file-creation mask is printed, if an argument is specified, it is the new file creation mask. The mask may be specified as an octal number, in which case it is interpreted as the rights that should be masked away, i.e. it is the inverse of the -file permissions any new files will have. +file permissions any new files will have. If a symbolic mask is specified, the actual file permission bits, and not the inverse, should be specified. A symbolic mask is a comma @@ -19,7 +19,7 @@ separated list of rights. Each right consists of three parts: - The first part specifies to whom this set of right applies, and can be one of \c u, \c g, \c o or \c a, where \c u specifies the user who owns the file, \c g specifies the group owner of the file, \c o -specifiec other users rights and \c a specifies all three should be +specific other users rights and \c a specifies all three should be changed. - The second part of a right specifies the mode, and can be one of \c =, \c + or \c -, where \c = specifies that the rights should be set to @@ -27,7 +27,7 @@ the new value, \c + specifies that the specified right should be added to those previously specified and \c - specifies that the specified rights should be removed from those previously specified. - The third part of a right specifies what rights should be changed -and can be any compination of \c r, \c w and \c x, representing +and can be any combination of \c r, \c w and \c x, representing read, write and execute rights. If the first and second parts are skipped, they are assumed to be \c a |