My Oracle Support Banner

Opatch command errors with "tr: extra operand" and "line 384 [: =: Unary Operator Expected" (Doc ID 1551584.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

This is observed , when a one character filename exist in current directory then OPatch gives out this error:

tr: extra operand `x'

Try `tr --help' for more information.

/u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/opatch: line 384: [: =: unary operator expected

Changes

Installed newer version of OPatch

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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