My Oracle Support Banner

Bash bracketed-paste mode enabled in Solaris 11.4 SRU 36 or later (Doc ID 2810359.1)

Last updated on JANUARY 27, 2025

Applies to:

Solaris Operating System - Version 11.4 and later
Information in this document applies to any platform.

Symptoms

 In Solaris 11.4 SRU 36 or later, some bash(1) behavior has changed.

Pasted commands are not executed on paste but just highlighted. Pressing the enter key is required to execute pasted commands.

When the following lines are copied then pasted to a bash command line,

echo A
echo B
echo C

Solaris 11.4 SRU 35 or older

 

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
 Pasted commands are not executed on paste but just highlighted. Pressing the enter key is required to execute pasted commands.
 Extra characters like "ESC[?2004h" and "ESC[?2004l" may be visible if the prompt is captured using utility like expect(1), script(1), etc.
Cause
Solution

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