bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Doc-bug Bash manpage:


From: Linda Walsh
Subject: Doc-bug Bash manpage:
Date: Fri, 12 Aug 2011 17:51:12 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666




In my bash package:
 rpm -qi bash
Name : bash Relocations: (not relocatable)
Version : 4.1 Vendor: openSUSE
Release : 20.25.1 Build Date: Sun 27 Feb 2011 05:51:30 AM PST
Install Date: Sun 22 May 2011 01:28:49 PM PDT Build Host: build31
...

in the 'bash' manpage, under the 'set' option, under the "-e" option,
there is a paragraph that starts:

"Exit immediately if a pipeline (which may consist of a
single simple command), a subshell command enclosed in
parentheses,..."

Later on, there is text:

" part of any command executed in a && or ⎪⎪ list
^^
except the command following the final && or ⎪⎪, any
^^
command in a pipeline but the last,"

The above statement is in error. The unicode character, U+023AA,
"Bracket Extension", is not a valid bash operator.

 read x<<<"$(echo -n "⎪"|hexdump -e '/1 "%02.2x"')"
 echo $x
e28eaa
 ubytes_to_utf8 $x
U+023AA

^^ not the same as "|" (though they may display
the same, one knows when one cuts & pastes, or is viewing
on a screen that only supports the common
ascii characters...), and 'bracket extension' ain't one
of them (or I wouldn't have noticed ;-/ ). Fortunately or unfortunately,
some of don't work w/terms that display such as vertical bar, but as
an empty square (no character mapped).



In my bash package:
 rpm -qi bash
Name : bash Relocations: (not relocatable)
Version : 4.1 Vendor: openSUSE
Release : 20.25.1 Build Date: Sun 27 Feb 2011 05:51:30 AM PST
Install Date: Sun 22 May 2011 01:28:49 PM PDT Build Host: build31
...

in the 'bash' manpage, under the 'set' option, under the "-e" option,
there is a paragraph that starts:

"Exit immediately if a pipeline (which may consist of a
single simple command), a subshell command enclosed in
parentheses,..."

Later on, there is text:

" part of any command executed in a && or ⎪⎪ list
^^
except the command following the final && or ⎪⎪, any
^^
command in a pipeline but the last,"

The above statement is in error. The unicode character, U+023AA,
"Bracket Extension", is not a valid bash operator.

 read x<<<"$(echo -n "⎪"|hexdump -e '/1 "%02.2x"')"
 echo $x
e28eaa
 ubytes_to_utf8 $x
U+023AA

^^ not the same as "|" (though they may display
the same, one knows when one cuts & pastes, or is viewing
on a screen that only supports the common
ascii characters...), and 'bracket extension' ain't one
of them (or I wouldn't have noticed ;-/ ). Fortunately or unfortunately,
some of don't work w/terms that display such as vertical bar, but as
an empty square (no character mapped).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]