Subject: | awk throws warnings when called without parameters |
Date: | Tue, 25 Mar 2014 21:29:47 -0700 |
To: | bug-ppt [...] rt.cpan.org |
From: | Miller Hall <miller.hall [...] gmail.com> |
When called using strawberry perl:
Show quoted text
>awk
usage: C:\usr\local\ppt\bin\awk [ -F fs ] [ [-v] var=value ] [ 'prog' | -f
progfile ] [ file ... ]
Use of uninitialized value $tmpin in unlink at C:\usr\local\ppt\bin\awk
line 15.
Use of uninitialized value $tmpout in unlink at C:\usr\local\ppt\bin\awk
line 15.
Can be fixed with the following change to line 15:
unlink for grep defined $tmpin, $tmpout; # XXX: don't check failure
Regards,
- Miller