[multimedia/kid3] doc/en: Quote filename in command-line example
Karl Ove Hufthammer
null at kde.org
Tue Jun 7 20:17:53 BST 2022
Git commit 7fd0ed877f0f393694c07165a8fc710add451081 by Karl Ove Hufthammer.
Committed on 07/06/2022 at 16:48.
Pushed by ufleisch into branch 'master'.
Quote filename in command-line example
The quotes are necessary for proper handling of filenames
that contain spaces.
M +1 -1 doc/en/index.docbook
https://invent.kde.org/multimedia/kid3/commit/7fd0ed877f0f393694c07165a8fc710add451081
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 786aabd6..6c94e9b0 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -2965,7 +2965,7 @@ Setting "ratingstars" on multiple files having different tag formats will not
work because the frame with the value mapped from the star count is created
for the first file and then used for all files. So instead of
<userinput>kid3-cli -c "set ratingstars 2" *</userinput> you should rather use
-<userinput>for f in *; do kid3-cli -c "set ratingstars 2" $f; done</userinput>.
+<userinput>for f in *; do kid3-cli -c "set ratingstars 2" "$f"; done</userinput>.
</para>
</sect2>
More information about the kde-doc-english
mailing list