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 22.214.171.124 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/126.96.36.199/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
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms