:: Re: [DNG] vdev status update in dae…
Forside
Slet denne besked
Besvar denne besked
Skribent: Ralph Ronnquist
Dato:  
Til: dng
Emne: Re: [DNG] vdev status update in daedalus
On Sat, Dec 09, 2023 at 12:16:44PM +0100, aitor wrote:
> Hi,
>
> On 9/12/23 11:32, aitor wrote:
> > On 9/12/23 11:10, Ludovic Bellière via Dng wrote:
> > > The asterix means 0 or more. If you need to match 'd', then you want to use + (1 or more):
> > >     echo "sdf" | grep -E 'fd+'
> > > You'll want to change all asterix, probably. I case of doubt, you may want to consulthttps://regex101.com.
> > Thanks for the info, Ludovic!
>
> I'll use "^fd+|^... etc ..."


Note that it's a regular expression, and I owuld guess what you want
is something like "^fd[0-9]+|...", i.e. you want it to match names
like "fd0", "fd1",..., "fd12",... etc, and not really names like "fd",
"fdd", "fddd", .. "fdddddddd" etc.

>
> Cheers,
>
> Aitor.
>


> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng