Skip to content

Does gix-command mean for $0 to be --? #1840

Answered by Byron
EliahKagan asked this question in Q&A
Discussion options

You must be logged in to vote

[with 'line 1' appended] This seems like an improvement to me, still. In particular, no one is going to think sh itself is a text file and that the error is on the first line of sh itself.

Yes, that's even better, as it additionally avoids getting overly long.

Yes, I will do this.

Great, thanks!

  • Don't we already have something that renormalizes Windows paths to use /? (Contrary to widespread belief, it actually cannot always be done. In particular, not all \\?\ and \??\ paths can be turned into a path with no backslashes, even if the path need only refer to the same file on the current machine and the filesystem can be accessed to figure out how to produce it. In practice, however, …

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@EliahKagan
Comment options

@Byron
Comment options

@EliahKagan
Comment options

@Byron
Comment options

Answer selected by EliahKagan
@EliahKagan
Comment options

@Byron
Comment options

@EliahKagan
Comment options

@EliahKagan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants