mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
docs: Double-re-extra mention bash vs fish globbing
And in the section we now point people towards!
This commit is contained in:
parent
b5e5732be1
commit
013f98a5b3
1 changed files with 4 additions and 0 deletions
|
@ -499,6 +499,10 @@ Examples::
|
|||
ls $foos
|
||||
end
|
||||
|
||||
Unlike bash (by default), fish will not pass on the literal glob character if no match was found, so for a command like ``apt install`` that does the matching itself, you need to add quotes::
|
||||
|
||||
apt install "ncurses-*"
|
||||
|
||||
.. [#] Technically, unix allows filenames with newlines, and this splits the ``find`` output on newlines. If you want to avoid that, use find's ``-print0`` option and :ref:`string split0<cmd-string-split0>`.
|
||||
|
||||
.. _expand-variable:
|
||||
|
|
Loading…
Reference in a new issue