opatchauto Fails With Shell Syntax Error FIRST_CHAR=${arg:0:1}: bad substitution (Doc ID 1919170.1)

Last updated on MARCH 24, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Generic UNIX

Symptoms

Applying patch with opatchauto and received the following failure:

opatchauto[85]: FIRST_CHAR=${arg:0:1}: bad substitution

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms