On Sun, Oct 11, 2015 at 10:33 PM, ALeX Wang <ee07b...@gmail.com> wrote:
> Hey Andy,
>
> Sorry for this late post, just very interested in the feature
> implemented in this series, one question below,
>
>> +
>> +    user_spec += strspn(user_spec, " \t\r\n");
>
>
>
> In which circumstance will the option value be prefixed
> by "\t\r\n"?
In case the input is provided with shell quotes, and white spaces are
within the quotes.
>
> Is this some common parsing practice?
It is common for filtering user input. May not be so common in command
line parsing.
>
> Thanks,
> Alex Wang,
>
>
> --
> Alex Wang,
> Open vSwitch developer
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to