|
From: | Daniel Colascione |
Subject: | Re: Feature Request: scanf-like parsing |
Date: | Fri, 22 Jan 2021 09:57:15 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |