diff options
author | Mark Griffiths <mark@thebespokepixel.com> | 2014-08-19 13:41:23 +0100 |
---|---|---|
committer | Mark Griffiths <mark@thebespokepixel.com> | 2014-09-03 14:43:26 +0100 |
commit | 137abd0cfaa8959224f88a4ebe9584a51468cc88 (patch) | |
tree | c396f760a1e309b5a837359e65c57c4555534d49 /doc_src/count.txt | |
parent | d7308fecbe573aad91fc6f1377c1ed2df735f6fd (diff) |
Make line length, wrapping and spacing consistent
Diffstat (limited to 'doc_src/count.txt')
-rw-r--r-- | doc_src/count.txt | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/doc_src/count.txt b/doc_src/count.txt index bf66d207..4587209f 100644 --- a/doc_src/count.txt +++ b/doc_src/count.txt @@ -7,25 +7,21 @@ count $VARIABLE \subsection count-description Description -`count` prints the number of arguments that were -passed to it. This is usually used to find out how many elements an -environment variable array contains. +`count` prints the number of arguments that were passed to it. This is usually used to find out how many elements an environment variable array contains. `count` does not accept any options, including '`-h`'. -`count` exits with a non-zero exit status if no arguments were passed -to it, and with zero if at least one argument was passed. +`count` exits with a non-zero exit status if no arguments were passed to it, and with zero if at least one argument was passed. + \subsection count-example Example -<pre> +\fish count $PATH -</pre> -returns the number of directories in the users PATH variable. +# Returns the number of directories in the users PATH variable. -<pre> count *.txt -</pre> -returns the number of files in the current working directory ending with the suffix '.txt'. +# Returns the number of files in the current working directory ending with the suffix '.txt'. +\endfish
\ No newline at end of file |