"deno xeval" is a new command that evaluates a script for each line of stdin (it also supports other delimiters other than \n)
It is named after xargs, the unix command. But I suspect many users will not know xargs, or even if they do not make the connection. So maybe "xeval" is confusing.
I propose eval-lines, I know this doen't relay alternative delimiters but seems a lot clearer. Otherwise eval-each would also be good: more explicit than each.
IMHO xeval is fine - it's short and actually resembles xargs. Though it's probably a good idea to add a note to docs to suggest similarities between xeval and xargs
Any update on this issue @ry?
How to use it? ;-(
UPD: STDIN places in $, ty
I vote for eval-each
Closed in favor of #3230
Most helpful comment
I propose
eval-lines, I know this doen't relay alternative delimiters but seems a lot clearer. Otherwiseeval-eachwould also be good: more explicit thaneach.