My Oracle Support Banner

Execution of and Scripts Fail with "arithmetic syntax error" or Throws Warning "escape sequence `\/' treated as plain `/'" (Doc ID 2317601.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle Communications Convergent Charging Controller - Version 6.0.0 and later
Information in this document applies to any platform.


On all versions of Oracle Communications Convergent Charging Controller (OC3C), after installing nawk, the script will begin to fail and throw the following error when executed:

acs_oper@SLC01:/IN/service_packages/SUPPORT/bin$ ./
./ line 316: [511542]: arithmetic syntax error

If the nawk package is not installed, then by default nawk is a softlink to gawk:

bash-4.2$ which nawk

bash-4.2$ ls -lh /usr/bin/nawk
lrwxrwxrwx 1 root root 4 Sep 2 2016 /usr/bin/nawk -> gawk

This results in the following warning being thrown, but the script will still execute correctly (as opposed to the error and failing):

nawk: cmd. line:5: warning: escape sequence '\[' treated as plain '['

This article will cover the necessary changes to be made to both the and scripts in order to prevent these alarms from being thrown.



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.