On Thu, Nov 19, 2020 at 05:07:48PM +0800, Wu Fengguang wrote:
port=$(($(date +%s%N)%"$sshr_port_len"+"$sshr_port_base"))
port=$(($(date +%s%N)%${sshr_port_len}+${sshr_port_base}))
style: white space around the operators.
Ok
${} is not necessary inside $(( ))
Thanks, Fengguang
Ok, I got it.
Thanks, Yale