docs: Double-re-extra mention bash vs fish globbing

And in the section we now point people towards!
This commit is contained in:
Fabian Homborg 2021-08-11 18:41:37 +02:00
parent b5e5732be1
commit 013f98a5b3

View file

@ -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: