Hi, everyone! Link to my git: GitHub - Treeesk/codecrafters-shell-c
I have an error that I cannot solve, I attach below the tests on which my program stop
remote: [your-program] ^[[0m$ "exe with \'single quotes\'" /tmp/foo/f3
remote: [your-program] exe with 'single quotes': command not found
remote: [tester::#QJ0] Output does not match expected value.
remote: [tester::#QJ0] Expected: "mango orange."
remote: [tester::#QJ0] Received: "exe with 'single quotes': command not found"
remote: [your-program] $
remote: [tester::#QJ0] Assertion failed.
Did I understand correctly that the "that was encountered earlier with " was treated as a closing, and therefore the quotation mark before the Script was treated as a new one? " which comes after \ should be counted as the ending " or should it just be escaped and skipped?
I would also appreciate running a separate test as soon as possible to debug the code more accurately. I can’t run the program because I don’t have one of the libraries.
Even though the highlighted " matches the first ", your parse_input function should not stop there for argv[1], because there is no space after the highlighted ".
Here’s a similar example from a previous stage #ni6 Single quotes: