[Bug 211360] ESC caracters are not interpreted by /bin/sh

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 25 06:49:04 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211360

            Bug ID: 211360
           Summary: ESC caracters are not interpreted by /bin/sh
           Product: Base System
           Version: 11.0-BETA1
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: kpect at protonmail.com
                CC: freebsd-amd64 at FreeBSD.org
                CC: freebsd-amd64 at FreeBSD.org

Hello,

On FreeBSD 10.X /bin/sh performed interpreting of escape caracters like this
one:
export PS1=$'\1\r\1\e[0;31m\1#\1\e[0m\1 '

on FreeBSD 11-beta1 it doesn't anymore. My shell prompt looks like this:

[0;31m#[0m

Regards.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list