Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1755 transliteration operator at ./awstats.pl line 17815.

open
nobody
None
5
2014-08-06
2012-02-07
jw220635
No

When running ./awstats.pl to update for the first time, I get the following error:
HPE20109 Invalid range ",-/" in transliteration operator at ./awstats.pl line 17815.

$field[$pos_date] =~ tr/,-\/ \t/:::::/s; # " \t" is used instead of "\s" not known with tr

appears to not have changed in years looking at previous version of the code.

I am running IBM HTTP Server 7.0 (Apache Based) on z/OS Unix Systems Services.

Discussion

  • jw220635
    jw220635
    2012-02-07

    I think I have the solution. It has to EBCDIC transliteration in Perl.

    After checking the EBCDIC charater table vs. ASCII the following solution worked!

    $field[$pos_date] =~ tr/\x6b\x60\x4b\x61\x05/:::::/s; # " \t" is used instead of "\s" not known with tr