VisionSystemsInc / VisionSystemsInc/vsi_common
`real_path ''` behaves differently on macOS
Open
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 8
- Forks
- 9
- Avg merge
- 36m
- Merged PRs (30d)
- 1
Description
On macOS, real_path '' outputs $PWD/ (with a slash appended); whereas realpath actual (which real_path uses when it's available) errors with:
$ real_path ''
realpath: '': No such file or directory
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the real_path command implementation and examining how it handles an empty argument on macOS, especially when it delegates to realpath. Reproduce the reported command and compare its behavior with realpath ''. Done means the empty argument no longer produces a different result from the available realpath behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100