On Wed, Aug 27, 2014 at 08:38:16PM +0200, Jo-Philipp Wich wrote:
> Even if "-" would be allowed you'd still need to deal with "@", ".",
> "#", ":" and other funny characters that are legal in ifnames.
>
> The only suitable way using the existing syntax constraints is to use an
> option value, simi
> So, it shouldn't be necessary with the C implementation?
Correct, but that cannot be changed without breaking support for legacy
APIs.
>
>> Simply replacing dashes with underscores is not possible either as this
>> would lead to ambiguous results.
>
> Yes, I've got exactly this problem: the
On Wed, Aug 27, 2014 at 07:49:21PM +0200, Jo-Philipp Wich wrote:
> Hi,
>
> yes there is a reason, the initial uci implementation was shell based
> and section names are part of generated variable names which must not
> contain dashes.
So, it shouldn't be necessary with the C implementation?
> Si
Hi,
yes there is a reason, the initial uci implementation was shell based
and section names are part of generated variable names which must not
contain dashes.
Simply replacing dashes with underscores is not possible either as this
would lead to ambiguous results.
~ Jow
_