Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11920

\177 at the end of a variable

From isabella parakiss <izaberina@gmail.com>
Newsgroups gnu.bash.bug
Subject \177 at the end of a variable
Date 2015-11-23 11:29 +0100
Message-ID <mailman.520.1448274595.31583.bug-bash@gnu.org> (permalink)

Show all headers | View raw


$ str=abcd; [[ $'a\177' = a"${str:4:1}" ]]; echo $?
0


This happens in every version since 3.1, including the devel branch.

---
xoxo iza

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

\177 at the end of a variable isabella parakiss <izaberina@gmail.com> - 2015-11-23 11:29 +0100

csiph-web