[TUHS] was there ever a command which took = as a flag?
Wendt Alan via TUHS
tuhs at tuhs.org
Tue Nov 24 23:48:20 AEST 2026
sort -t '=' -k2,2 file.txt
On Tue, Nov 24, 2026 at 6:46 AM Ralph Corderoy via TUHS <tuhs at tuhs.org> wrote:
>
> 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