Open SpdPnd98 opened 2 years ago
In case 1 &&
is taken as chaining find test
and ` which result in
find testbeing evaluated and there are no ambiguities. Case 2 the chain command will chain
find testand
&& && && &&` the latter being an unknown command format hence error message is raised.
Team chose [response.Rejected
]
Reason for disagreement: I expect both the commands above to consistently exhibit either one of these behaviours:
&& && && &&
should not be an unknown format, but viewed as multiple chain commands. What I expect is && && && &&
to be chained with
(spaces) as well. So it should be
find test
chain
(space)` (space) chain
`(space)` (space) chain
`(space)` (space) chain
`(space)` (space) chain
`(space)find 3 &&
should show unknown format
, as not having left command should be invalid. This is also stated in your UG, where there has to be two commands (both left and right!)
Since both is shown, this hints to me that there is a problem with the parser format and/or potential incorrect use of .trim()
.
If I did
find test &&
, the application is able to detect that no commands are chainedBut if I have multiple chaining commands
find test && && && && &&
, it doesn't exhibit the same behaviour.