<p dir="ltr"><br>
Am 18.10.2014 23:58 schrieb "Bastian Bittorf" <<a href="mailto:bittorf@bluebottle.com">bittorf@bluebottle.com</a>>:<br>
><br>
> * Yousong Zhou <<a href="mailto:yszhou4tech@gmail.com">yszhou4tech@gmail.com</a>> [18.10.2014 17:58]:<br>
> > > + signal="$( kill -l "$signal" )"<br>
> ><br>
> > the quotes may not work...<br>
><br>
> they work and you should always quote a var,<br>
> unless you are really sure it is an integer...<br>
></p>
<p dir="ltr">yes. it's just that the syntax of the quoting here is a little misleading to me, i.e. concatenation of 3 different part with the var seemingly not protected by quotes. but i have just tried it with ash and it did work.</p>
<p dir="ltr"> yousong</p>
<p dir="ltr">> root@box:~ kill -l "15"<br>
> TERM<br>
> root@box:~ kill -l "TERM"<br>
> 15<br>
><br>
> bye, bastian<br>
</p>