Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
syntax:grammar:parser_exec [2015/08/11 22:36]
bill_thomson
syntax:grammar:parser_exec [2019/10/31 16:18] (current)
ersen change ancient arithmetic expansion syntax
Line 53: Line 53:
 # The following is an assignment error, since there is no digit '​9'​ # The following is an assignment error, since there is no digit '​9'​
 # for a base eight number! # for a base eight number!
-foo=$[8#9]+foo=$((8#9))
  
 echo POST echo POST
Line 68: Line 68:
 # The following is an assignment error! # The following is an assignment error!
 # The "echo TEST" won't be executed, since the { ...; } is terminated # The "echo TEST" won't be executed, since the { ...; } is terminated
-{ foo=$[8#9]; echo TEST; }+{ foo=$((8#9)); echo TEST; }
  
 echo POST echo POST
  • syntax/grammar/parser_exec.txt
  • Last modified: 2019/10/31 16:18
  • by ersen