Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename xeval? #2312

Closed
ry opened this issue May 8, 2019 · 6 comments
Closed

Rename xeval? #2312

ry opened this issue May 8, 2019 · 6 comments

Comments

@ry
Copy link
Member

ry commented May 8, 2019

"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.

  1. Is xeval a good name?
  2. If not what is? Alternative suggestions include "deno each" and "deno foreach"
@hayd
Copy link
Contributor

hayd commented May 8, 2019

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.

@bartlomieju
Copy link
Member

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

@bartlomieju
Copy link
Member

Any update on this issue @ry?

@qfox
Copy link

qfox commented Jul 16, 2019

How to use it? ;-(

UPD: STDIN places in $, ty

@NotWearingPants
Copy link

I vote for eval-each

@ry
Copy link
Member Author

ry commented Oct 29, 2019

Closed in favor of #3230

@ry ry closed this as completed Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants