@sir TIL
> POSIX demands the following behavior: the first non-option stops option processing.

@minus @sir
Fun fact: I used to think options always need to be before positional arguments. That's what the manpages seemed to suggest in their SYNOPSIS, and that's what examples on the internet showed.

Then I accidentally added an option after a positional argument, and it worked.
WTF.

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!