A typical construct to parse arguments is to use unformat in a while loop
that checks for UNFORMAT_END_OF_INPUT.
For multiline input that relies on the detection of "\n" in the input
The problem is that a construct like:
unformat (input, "name %_%v%_", &name)
eats the newline when it is the only characted following the string to be
This even break reading a multi line config with exec.
vpp-dev mailing list