Re: [RFC] Let "gcore" command accept a suffix argument

Joel Brobecker
2009-12-11T10:06:12Z

> Or you could try to introduce syntax allowing arbitrary expressions.
> One idea that comes to mind is to reuse some code and make eval work
> like printf:
>
> eval "echo %s %d", $foo, $bar + 87
>
> Now that I write it that seems weird :-)

I don't think it seems weird. I find this pretty nice, and since we
already have printf, I wonder how hard it would be to implement this?

--
Joel