[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature Request: scanf-like parsing

From: William Park
Subject: Re: Feature Request: scanf-like parsing
Date: Fri, 22 Jan 2021 10:40:07 -0500
User-agent: Mutt/1.10.1 (2018-07-13)

On Fri, Jan 22, 2021 at 09:57:15AM -0500, Daniel Colascione wrote:
> On 1/22/21 9:54 AM, Saint Michael wrote:
> > I vote for this new feature.
> Personally, I've found that scanf underpowered for parsing modern data
> formats. Bash's existing regular expression support seems perfectly adequate
> to me, and it can handle everything that scanf can. I'd only suggest
> extending the regular expression syntax with support for named subgroups.

Ah.. I forgot Bash now has regex.  Just tried =~, and I can get the
subgroups out.  Request withdrawn. :-)
William Park <opengeometry@yahoo.ca>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]