[Top][All Lists]

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

Re: Feature Request: scanf-like parsing

From: Eli Schwartz
Subject: Re: Feature Request: scanf-like parsing
Date: Mon, 25 Jan 2021 11:46:51 -0500

On 1/25/21 11:28 AM, Alex fxmbsw7 Ratchev wrote:
cool, now that u're the main bash coder greycat and co wont fall like
cannibals over you for using eval
cheers for old code

No one ever said eval is evil, if you're using it solely to consume the output of a shell builtin functionality specifically designed to produce eval-safe text.

In fact, greycat's official stance on precisely that can be found here (and agrees that Chet's example is reasonable and correct):

Opinions differ on whether it's evil to try writing your own text for eval'ing, since most people doing so seem to get it wrong. But that's neither here nor there.

Eli Schwartz
Arch Linux Bug Wrangler and Trusted User

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

reply via email to

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