On 8/11/22 5:56 PM, Koichi Murase wrote:
I agree with option 4. Thank you for all your explanations.
--
Can we also change the behavior of TERM in a similar way with option
4?
I'll look at that for the next version.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
How come math/arithmetic ((i=k+l)) cannot make use of set -x
Please help..
(so annoying).
On Fri, Aug 12, 2022, 6:28 PM Budi wrote:
> How come math/arithmetic ((i=k+l)) cannot make use of set -x
>
> Please help..
> (so annoying).
>
It works for me. What are you expecting?
It would help if you show what you're doing, the result you're getting and
what you expect instead.
"It doesn'
It doesn't work means no use on set -x, no value is shown
On 8/13/22, Dennis Williamson wrote:
> On Fri, Aug 12, 2022, 6:28 PM Budi wrote:
>
>> How come math/arithmetic ((i=k+l)) cannot make use of set -x
>>
>> Please help..
>> (so annoying).
>>
>
>
> It works for me. What are you expecting?
>
>
On Fri, Aug 12, 2022 at 6:51 PM Budi wrote:
> It doesn't work means no use on set -x, no value is shown
>
> On 8/13/22, Dennis Williamson wrote:
> > On Fri, Aug 12, 2022, 6:28 PM Budi wrote:
> >
> >> How come math/arithmetic ((i=k+l)) cannot make use of set -x
> >>
> >> Please help..
> >> (so a
On Fri, Aug 12, 2022, at 7:40 PM, Dennis Williamson wrote:
> It works for me. What are you expecting?
>
> It would help if you show what you're doing, the result you're getting and
> what you expect instead.
I'm guessing that instead of, for example
% bash -xc 'a="(x=1)" b="2*3"; ((a+b))'
On Sat, Aug 13, 2022 at 06:51:04AM +0700, Budi wrote:
> It doesn't work means no use on set -x, no value is shown
set -x shows the command being executed, with arguments expanded.
unicorn:~$ cat foo
#!/bin/bash
set -x
a=5
b=7
c=$((a * b))
echo "$c"
unicorn:~$ ./foo
+ a=5
+ b=7
+ c=35
+ echo 35