Jeffery To <jeffery...@gmail.com> [2019-05-15 19:03:16]:

> I finally remembered, I copied this syntax from
> package/network/services/openvpn/files/openvpn.init[3]:
> 
> LIST_SEP="
> "

it just looks weird as well.

> If you prefer, I can change this to use ksh93 syntax[5]:
> 
> IFS=$'\n'

indeed, I like this a lot more, and 

 IFS="$(printf '\n\t')"

from that TLDP page you've linked looks good as well, seems even more readable
to me. Anyway, I'll leave the decision up to you, both are fine with me.

-- ynezz

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to