I’m stuck on Stage Redirect stdout #JV1
I have the unfortunate error of it works on my machine.
Here are my logs:
./your_program.sh
$ ls -1 /tmp/qux > /tmp/foo/bar.md
$ ls /tmp/foo/bar.md
/tmp/foo/bar.md
$ exit
$ exit 0
I had to previously create the qux and foo folder for it to work though.
I’ve uploaded the code to the repo GitHub - jvivallos/codecrafters-shell-python
Thanks in advance
Hey @jvivallos, looks like the current code isn’t actually working.
You can verify by printing the contents of the redirected file:
./your_program.sh
$ ls -1 /tmp/qux > /tmp/foo/bar.md
$ cat /tmp/foo/bar.md
[check the output]
Let me know if you’d like any further clarification!
Thanks for the help. I was including things I shouldn’t have. Thanks again
1 Like
system
Closed
7
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.