"Fossies" - the Fresh Open Source Software Archive

Member "fish-3.0.2/share/man/man1/count.1" (19 Feb 2019, 859 Bytes) of package /linux/misc/fish-3.0.2.tar.gz:

Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even errorneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the latest Fossies "Diffs" side-by-side code changes report for "count.1": 3.0.1_vs_3.0.2.




count - count the number of elements of an array


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, not even -h or --help.

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.

Returns the number of directories in the users PATH variable.

count *.txt
Returns the number of files in the current working directory ending with the suffix ’.txt’.