[Pkg-awstats-devel] Bug#350987: logresolvemerge.pl won't run
because of DOS line endings
WireSpot
wirespot at gmail.com
Thu Feb 2 07:52:00 UTC 2006
Package: awstats
Version: 6.5-1
Severity: important
The file /usr/share/doc/awstats/examples/logresolvemerge.pl in this
release uses DOS line endings (CRLF) throughout. Attempting to run it
directly fails with this message:
/usr/bin/perl^M: bad interpreter
The ^M being the extra CR character.
The file can still be run if passed as a parameter to the perl
interpreter, like this:
perl /usr/share/doc/awstats/examples/logresolvemerge.pl
...but it is marked executable and many people will probably attempt
to run it directly. It is a fair expectation and it shouldn't fail.
This file is the only one with this problem of all the Perl scripts in
this release. To fix, run dos2unix on it:
dos2unix /usr/share/doc/awstats/examples/logresolvemerge.pl
More information about the Pkg-awstats-devel
mailing list