diff options
Diffstat (limited to 'tags/d/desktop-entry-file-has-crs.tag')
-rw-r--r-- | tags/d/desktop-entry-file-has-crs.tag | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tags/d/desktop-entry-file-has-crs.tag b/tags/d/desktop-entry-file-has-crs.tag new file mode 100644 index 0000000..e865b76 --- /dev/null +++ b/tags/d/desktop-entry-file-has-crs.tag @@ -0,0 +1,14 @@ +Tag: desktop-entry-file-has-crs +Severity: warning +Check: menu-format +Explanation: The desktop entry file has lines ending in carriage-return and line-feed + instead of just a line-feed. The Desktop Entry Specification says that lines should + end with line-feed alone. + . + Some software may mistake the carriage-return as a part of the field value. + . + You can run the following command to remove any <code>CR</code> character in a file: + . + <code>sed -i 's/\r//g' path/to/file</code> +See-Also: + https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s03.html |