<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xdg-utils-1.1.2 xdg-mime awk script syntax error"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104298">104298</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>xdg-utils-1.1.2 xdg-mime awk script syntax error
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Portland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>xdg-utils
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>portland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sergamena@inbox.ru
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=136236" name="attach_136236" title="awk-length.patch">attachment 136236</a> <a href="attachment.cgi?id=136236&action=edit" title="awk-length.patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=104298&attachment=136236'>[review]</a>
awk-length.patch

I got multiple awk errors when tried to use xdg-utils and xdg-settings. For
example:

$~ xdg-mime query default text/html
awk: cmd. line:13: Unexpected token
awk: cmd. line:13: Unexpected token
awk: cmd. line:13: Unexpected token
firefox.desktop

After some testing I've found the reason: awk funnction "length" is used
without parenthesis which is unsupported by gawk. I've created simple patch to
fix this.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>