Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It’s not unstable or ambiguous at all.

    -abcdefg.txt
In your hypothetical -b takes an argument which means it consumes all the characters following it. Anything following b is never interpreted as a flag. There is no danger of -c changing the parsing. Even if b takes an optional argument it still consumes all characters following it.


Ah, you are right.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: