[ovs-dev] [v3 04/10] lib/damon: add --user option

ALeX Wang ee07b291 at gmail.com
Mon Oct 12 20:11:37 UTC 2015


Thx, all make sense,

On 12 October 2015 at 11:25, Andy Zhou <azhou at nicira.com> wrote:

> On Sun, Oct 11, 2015 at 10:33 PM, ALeX Wang <ee07b291 at 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
>



-- 
Alex Wang,
Open vSwitch developer



More information about the dev mailing list