<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Il 19/02/20 18:09, Emilio Pozuelo
      Monfort ha scritto:<br>
    </div>
    <blockquote type="cite"
      cite="mid:0acfad50-a773-7267-fd75-89fc80e02e96@debian.org">
      <pre class="moz-quote-pre" wrap="">Control: forwarded -1 <a class="moz-txt-link-freetext" href="https://gitlab.freedesktop.org/xdg/xdg-utils/issues/10">https://gitlab.freedesktop.org/xdg/xdg-utils/issues/10</a>

On 02/02/2020 16:32, luca wrote:
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">Package: xdg-utils
Version: 1.1.3-1
Severity: normal

/usr/bin/xdg-settings: 735: Bad substitution
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">-- Package-specific info:
Desktop environment: XDG_CURRENT_DESKTOP=KDE
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
Looks like you're running into
<a class="moz-txt-link-freetext" href="https://gitlab.freedesktop.org/xdg/xdg-utils/issues/10">https://gitlab.freedesktop.org/xdg/xdg-utils/issues/10</a>

Cheers,
Emilio
</pre>
    </blockquote>
    <p><tt>Hi Emilio,</tt></p>
    <p><tt>no in my case </tt><code>read_kde_browser()</code><tt>
        doesn't returns an empty string, but "/usr/bin/firefox" as you
        can see in the attached log.</tt><tt><br>
      </tt></p>
    <pre class="message">the problem is that bash works with x"${browser:0:1}" and dash doesn't. Debian set /bin/sh as /bin/dash.

the shabang of<b> </b>xdg-settings is #!/bin/sh<tt>
</tt>

 </pre>
    <tt>
    </tt>
    <pre class="moz-signature" cols="72">-- 
Saluti, Luca Pedrielli </pre>
  </body>
</html>