On Mon, Jan 25, 2021, 17:50 Eli Schwartz <eschwa...@archlinux.org> wrote:
> 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. > you havent been on #bash freenode irc where it is the reverse to this quote 'no one ..', where also 'bash is no coding language' and x other invalid things are common, to all i disagree, but the masses of ignorant wrong teachen ppl overwealth me and i mostly left eval is evil, alias dont work in scripts, x x x .. common stupidity against my will In fact, greycat's official stance on precisely that can be found here > (and agrees that Chet's example is reasonable and correct): > https://mywiki.wooledge.org/BashFAQ/048#Examples_of_good_use_of_eval > > 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 > >