From b07afa9b020438a6a547fcb9bafc99af02eb569f Mon Sep 17 00:00:00 2001 From: Joram Berger Date: Wed, 31 Jan 2024 23:40:21 +0100 Subject: [PATCH] Link to Go Match syntax directly in 040_backup.rst The docs linked to filepath.Glob (which is used) but the syntax is described in the documentation of filepath.Match. So it makes sense to link that directly. --- doc/040_backup.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/040_backup.rst b/doc/040_backup.rst index ae834491e..550957eeb 100644 --- a/doc/040_backup.rst +++ b/doc/040_backup.rst @@ -381,8 +381,8 @@ contains one *pattern* per line. The file must be encoded as UTF-8, or UTF-16 with a byte-order mark. Leading and trailing whitespace is removed from the patterns. Empty lines and lines starting with a ``#`` are ignored and each pattern is expanded when read, such that special characters in it are expanded -using the Go function `filepath.Glob `__ -- please see its documentation for the syntax you can use in the patterns. +according to the syntax described in the documentation of the Go function +`filepath.Match `__. The argument passed to ``--files-from-verbatim`` must be the name of a text file that contains one *path* per line, e.g. as generated by GNU ``find`` with the