Re: [vpp-dev] Regarding CLI command parsing

2018-08-14 Thread Prashant Upadhyaya
ashant > Upadhyaya > Sent: Monday, August 13, 2018 1:53 PM > To: vpp-dev@lists.fd.io > Subject: [vpp-dev] Regarding CLI command parsing > > Hi, > > I am relatively new to this and trying to learn the art of using > format/unformat. > My requirement is that if my command

Re: [vpp-dev] Regarding CLI command parsing

2018-08-13 Thread Dave Barach via Lists.Fd.Io
ep it. HTH... Dave -Original Message- From: vpp-dev@lists.fd.io On Behalf Of Prashant Upadhyaya Sent: Monday, August 13, 2018 1:53 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] Regarding CLI command parsing Hi, I am relatively new to this and trying to learn the art of using format/unformat

[vpp-dev] Regarding CLI command parsing

2018-08-13 Thread Prashant Upadhyaya
Hi, I am relatively new to this and trying to learn the art of using format/unformat. My requirement is that if my command is "mycmd" followed by some string (which may have spaces in it), then I should be able to read the entire string up to the \n character typed by the user. Eg. if the command