"sed" command fails when the file path has round brackets in it
Resolved 💬 5 comments Opened Aug 19, 2025 by liarco Closed Jan 17, 2026
What version of Codex is running?
0.22.0
Which model were you using?
gpt-5-mini
What platform is your computer?
_No response_
What steps can reproduce the bug?
I'm running Codex in a NextJS project where some folders use brackets in their names in order to support some organizing features and dynamic paths.
Here is what I get when Codex need to access a file in one of those folders using sed:
<img width="636" height="106" alt="Image" src="https://github.com/user-attachments/assets/5ffaed87-3cd5-4447-8338-34cdd3c8bd4d" />
I expect this to happen with other special characters too, but I didn't catch it yet.
What is the expected behavior?
It should be able to use the correct syntax no matter the path.
What do you see instead?
The command fails.
Additional information
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗