On Mon, 18 Sept 2023 at 16:06, Jean Delvare <jdelv...@suse.de> wrote:

> Hi Ville,
>
> On Sun, 23 Jul 2023 10:01:34 +0300, Ville Skyttä wrote:
> > On Sat, 22 Jul 2023 at 22:55, Ville Skyttä <ville.sky...@iki.fi> wrote:
> > [...]
> > > diff --git a/dmidecode.bash b/dmidecode.bash
> > [...]
> > > +       -s | --string)
> > > +               COMPREPLY=($(compgen -W '
> > > +                       bios-vendor
> > > +                       bios-version
> > [...]
> >
> > Instead of duplicating the keywords here, these could be scraped from
> > `dmidecode --string` (without providing the keyword arg) output if
> > that sounds acceptable and the output is considered stable enough for
> > that purpose.
>
> Yes, that output can be considered stable. I can't think of a reason to
> change its format in a foreseeable future.
>

Ok, --string and --type pure bash scraping implemented in the revised patch
I just sent as a reply to another message here.

Ville

Reply via email to