Opatch command errors with "tr: extra operand" and "line 384 [: =: Unary Operator Expected"
Last updated on JUNE 01, 2015
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 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/220.127.116.11/dbhome_1/OPatch/opatch: 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
Million Knowledge Articles and hundreds of Community platforms