Displaying 5 results from an estimated 5 matches for "rtobar".
Did you mean:
robar
2017 Dec 18
2
Dialect for shell scripts
...9;test $(( 1 + 1 )) = 2' ) 2>/dev/null; then
> eval 'func_arith ()
> {
> func_arith_result=$(( $* ))
> }'
> else
> func_arith ()
> {
> func_arith_result=`expr "$@"`
> }
> fi
> 2017-12-17 23:55 GMT+01:00 Rodrigo Tobar <rtobar at icrar.org>:
>> Dear all,
>>
>> During a recent package submission, we were highlighted that some lines in
>> our configure script didn't follow the correct syntax. The lines looked like
>> this:
>>
>> x=$(($y/10))
>>
>> We were indi...
2017 Dec 17
2
Dialect for shell scripts
Dear all,
During a recent package submission, we were highlighted that some lines
in our configure script didn't follow the correct syntax. The lines
looked like this:
x=$(($y/10))
We were indicated at the time that this is because the statement does
not use Bourne shell syntax, which is absolutely true, and also that the
manual warns about this, which is true again. So far everything
2017 Dec 18
0
Dialect for shell scripts
...tead, it emits the following shell
code:
if ( eval 'test $(( 1 + 1 )) = 2' ) 2>/dev/null; then
eval 'func_arith ()
{
func_arith_result=$(( $* ))
}'
else
func_arith ()
{
func_arith_result=`expr "$@"`
}
fi
2017-12-17 23:55 GMT+01:00 Rodrigo Tobar <rtobar at icrar.org>:
> Dear all,
>
> During a recent package submission, we were highlighted that some lines in
> our configure script didn't follow the correct syntax. The lines looked like
> this:
>
> x=$(($y/10))
>
> We were indicated at the time that this is because...
2017 Dec 18
0
Dialect for shell scripts
...t; eval 'func_arith ()
> > {
> > func_arith_result=$(( $* ))
> > }'
> > else
> > func_arith ()
> > {
> > func_arith_result=`expr "$@"`
> > }
> > fi
>
> > 2017-12-17 23:55 GMT+01:00 Rodrigo Tobar <rtobar at icrar.org>:
> >> Dear all,
> >>
> >> During a recent package submission, we were highlighted that some lines
> in
> >> our configure script didn't follow the correct syntax. The lines looked
> like
> >> this:
> >>
> >> x...
2017 Dec 18
1
Dialect for shell scripts
...>>> {
>>> func_arith_result=$(( $* ))
>>> }'
>>> else
>>> func_arith ()
>>> {
>>> func_arith_result=`expr "$@"`
>>> }
>>> fi
>>
>>> 2017-12-17 23:55 GMT+01:00 Rodrigo Tobar <rtobar at icrar.org>:
>>>> Dear all,
>>>>
>>>> During a recent package submission, we were highlighted that some lines
>> in
>>>> our configure script didn't follow the correct syntax. The lines looked
>> like
>>>> this:
>&...