@sir the example has two cases of "case 'c':", is this intended?
@sir I find them preferable in scripts because they self-document.
@wno non-portable scripts
@wno also: comments are a thing
@sir *slow claps* the impedance mismatch with go's defaults is cripples my unix-fu every time
@sir Thinking long options are wrong is one thing, but wouldn't it at least have made sense to keep the structure of the flag package? Using the c-ish getops structure is very unlike Go.
@rms I appreciate that tbh, makes all commands consistent
@rms was reminded of this conversation just now. Consider the following based on POSIX behavior:
xargs -0 rm -f
And based on your suggestion:
xargs -0 -- rm -f
@sir I was going to look for something like this later, glad to see it pop up on my feed instead o/
cmpwn.com is a private Mastodon instance for friends of SirCmpwn.