Update README.md

This commit is contained in:
melangston 2020-02-15 08:58:42 -05:00 committed by GitHub
parent 6c236cc6c3
commit 26ea7fbd3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -482,9 +482,9 @@ Using pathname expansion to generate a list of filesystem entries that match a p
```sh
count() {
# Usage: count [.]/Example/Dir/* Count all files.
# count [.]/Example/Dir/*/ Count all subdirectories of /Example/Dir
# count [.]/Example/Dir/*.jpg Count all files ending in .jpg
# Usage: count [.]/Example/Dir/* Count all files.
# count [.]/Example/Dir/*/ Count all subdirectories of /Example/Dir
# count [.]/Example/Dir/*.jpg Count all files ending in .jpg
# count [.]/Example/Dir/*/*.jpg Count all subdirectories containing files ending in .jpg
i=0