<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>11314</bug_id>
          
          <creation_ts>2017-04-10 08:58:11 +0000</creation_ts>
          <short_desc>shell parser: support $(( ))</short_desc>
          <delta_ts>2025-01-30 15:54:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>   </status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Patrick Ohly">patrick.ohly</reporter>
          <assigned_to name="Mark">mark.asselstine</assigned_to>
          <cc>mark.asselstine</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>72201</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick Ohly">patrick.ohly</who>
    <bug_when>2017-04-10 08:58:11 +0000</bug_when>
    <thetext>The modern equivalent of `expr 1 + 1` is $(( 1 + 1 )), but that is not supported by the shell parser embedded in bitbake. Adding support for it would be useful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94219</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2022-10-20 15:26:11 +0000</bug_when>
    <thetext>Just tested, still doesn&apos;t parse.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94377</commentid>
    <comment_count>2</comment_count>
    <who name="Mark">mark.asselstine</who>
    <bug_when>2022-11-07 21:20:03 +0000</bug_when>
    <thetext>I&apos;ll try to have a look at this one over the next week. I am in the area having just worked on the python code snippets so should be able to slide over to this without a big context switch. I will grab the defect after a quick poke around to ensure I am not biting off something I can&apos;t chew.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94825</commentid>
    <comment_count>3</comment_count>
    <who name="Mark">mark.asselstine</who>
    <bug_when>2023-01-27 14:46:31 +0000</bug_when>
    <thetext>I have looked into this recently. It is fairly straightforward to get basic cases supported but to implement this in full and correctly it is going to take time. The combination of this being a multi-character delimiter, support for nesting and the &apos;$&apos; being allowed to be dropped inside this compound command all contribute to this being non-trivial. I do intend to continue to plug away at this, so stay tuned.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>