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

Remove $*ARGFILES #1

Merged
merged 2 commits into from Nov 13, 2014
Merged

Remove $*ARGFILES #1

merged 2 commits into from Nov 13, 2014

Conversation

Mouq
Copy link
Contributor

@Mouq Mouq commented Nov 13, 2014

lines() defaults to lines($*ARGFILES) and ++$ is the same as ++(state $), so in -n and -p, that can be used to get the number of times the loop had been executed, which is the same as $*ARGFILES.ins

`lines()` defaults to `lines($*ARGFILES)` and `++$` is the same as `++(state $)`, so in `-n` and `-p`, that can often be used to get the number of times the loop had been executed, which is the same as $*ARGFILES.ins
dnmfarrell pushed a commit that referenced this pull request Nov 13, 2014
@dnmfarrell dnmfarrell merged commit bf0d700 into dnmfarrell:master Nov 13, 2014
@dnmfarrell
Copy link
Owner

Much cleaner, thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants