Permalink
Browse files

Merge pull request #23 from zardam/issue20

Rename "arguments" to "scriptArgs"
  • Loading branch information...
2 parents 75ce177 + 9433bc9 commit 061161b43ff43209bb095b4b288b7a45aab6db6d @micha committed Oct 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 jsawk
View
2 jsawk
@@ -1105,7 +1105,7 @@ replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) {
if (!noprint)
out(RS);
-})(arguments);
+})(typeof arguments === 'undefined' ? scriptArgs : arguments);
__END__
nlines=0

0 comments on commit 061161b

Please sign in to comment.