Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[echo as defined in POSIX] does not support -e and warns that use of escape sequences and -n are not portable. [dash], the default shell in Debian, includes -ne in its output, which then appears on the first line of launched terminal applications. Avoid this by using [printf]. Note: The previous implementation unescaped any printf(3) escape sequences in Name, rather than only the specified [Desktop Entry string escape sequences]. The new behavior matches the current behavior for Exec, where no escape sequences are unescaped. If unescaping is desired, it could be added here or in Application::read. [dash]: https://salsa.debian.org/debian/dash [echo as defined in POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html [Desktop Entry string escape sequences]: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#value-types [printf]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html Signed-off-by: Kevin Locke <[email protected]>
- Loading branch information