Am 18.10.2014 23:58 schrieb "Bastian Bittorf" <[email protected]>:
>
> * Yousong Zhou <[email protected]> [18.10.2014 17:58]:
> > > + signal="$( kill -l "$signal" )"
> >
> > the quotes may not work...
>
> they work and you should always quote a var,
> unless you are really sure it is an integer...
>
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.
yousong
> root@box:~ kill -l "15"
> TERM
> root@box:~ kill -l "TERM"
> 15
>
> bye, bastian
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel