[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
The ASCII character \001 (^A) breaks the escape sequence interpretation.
From: |
BAGSHAW Paul RD-TECH-REN |
Subject: |
The ASCII character \001 (^A) breaks the escape sequence interpretation. |
Date: |
Fri, 23 Mar 2007 11:26:49 +0100 |
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/local/share/locale'
-DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib
-g -O2
uname output: Linux xxxx 2.6.12-19mdksmp #1 SMP Mon Apr 10 13:22:31 EDT
2006 i686 Intel(R) Xeon(TM) CPU 3.73GHz unknown GNU/Linux
Machine Type: i686-pc-linux-gnu
Bash Version: 3.2
Patch Level: 0
Release Status: release
Description:
[Detailed description of the problem, suggestion, or complaint.]
The ASCII character \001 breaks the escape sequence
interpretation.
./bash -c "echo \^A\[bs\]"
returns
^A\[bs]
Please note the backslash remains. It should return ^A[bs].
Note in comparison that
./bash -c "echo \^B\[bs\]"
returns
^B[bs]
as expected.
Repeat-By:
./bash -c "echo \^A\[bs\]"
where ^A is the ASCII character \001
Fix:
[Description of how to fix the problem. If you don't know a
fix for the problem, don't include this section.]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- The ASCII character \001 (^A) breaks the escape sequence interpretation.,
BAGSHAW Paul RD-TECH-REN <=