mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 18:03:37 +08:00
docs: Explain globs more in fish-for-bash-users
This commit is contained in:
parent
f4ba2866fc
commit
bf2fa6ef46
|
@ -115,6 +115,10 @@ will not match any files.
|
||||||
|
|
||||||
There are no options to control globbing so it always behaves like that.
|
There are no options to control globbing so it always behaves like that.
|
||||||
|
|
||||||
|
The ``**`` glob will match in subdirectories as well. In other shells this often needs to be turned on with an option, like ``setopt globstar`` in bash.
|
||||||
|
|
||||||
|
Unlike bash, fish will also follow symlinks, and will sort the results in a natural sort, with included numbers compared as numbers. That means it will sort e.g. music tracks correctly even if they have numbers like ``1`` instead of ``01``.
|
||||||
|
|
||||||
See :ref:`Wildcards <expand-wildcard>` for more.
|
See :ref:`Wildcards <expand-wildcard>` for more.
|
||||||
|
|
||||||
Quoting
|
Quoting
|
||||||
|
|
Loading…
Reference in New Issue
Block a user