Opatch command errors with "tr: extra operand" and "line 384 [: =: Unary Operator Expected"

(Doc ID 1551584.1)

Last updated on JUNE 01, 2015

Applies to:

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


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/ line 384: [: =: unary operator expected


Installed newer version of OPatch



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