[TUHS] was there ever a command which took = as a flag?
Ralph Corderoy via TUHS
tuhs at tuhs.org
Tue Nov 24 23:39:14 AEST 2026
Hi ron,
> > > Was here ever a command that had -= as an option, i.e.,
> > > command -= whatever
...
> I was thinking of a case where = *was* the switch character, i.e. '-='.
I searched some source-code indexes with a regexp approximating
a getopt(3) covering ‘=’ but found nothing.
Of course, test(1) and echo(1) are happy with ‘-=’ as an argument: it's
a string of length, and it echoes. But you've probably already got
unusual parsing for their arguments.
> Nothing comes to mind, but before I approve
> https://github.com/u-root/u-root/pull/3844 I want to make sure.
Now a 404.
--
Cheers, Ralph.
More information about the TUHS
mailing list