diff options
author | axel <axel@liljencrantz.se> | 2007-04-24 08:00:26 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2007-04-24 08:00:26 +1000 |
commit | 419b3166c8853707980bc8b9912ab664e8daecd6 (patch) | |
tree | 4cb0e41b691fee7ac51dfc8f894ade9942af8871 /doc_src | |
parent | e2714b05eb06dd56710d975fcac7996c84ba2dd2 (diff) |
Implement count as ashellscript function instead of a command in order to support very long argument lists. Note that this implementation is painfully slow for more than 1000 arguments.
darcs-hash:20070423220026-ac50b-69c4b06c88e6120429b6358f1b61f6076d392ce5.gz
Diffstat (limited to 'doc_src')
-rw-r--r-- | doc_src/count.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc_src/count.txt b/doc_src/count.txt index 5b6e4606..ca4b5d04 100644 --- a/doc_src/count.txt +++ b/doc_src/count.txt @@ -5,10 +5,10 @@ \subsection count-description Description -<tt>count</tt> 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, but this is not the only potential usage for -the count command. +The <tt>count</tt> function 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, but this is not the only +potential usage for the count command. The count command does not accept any options, not even '-h'. This way the user does not have to worry about an array containing elements |