On Fri, Nov 28, 2014 at 03:47:49PM -0500, Maarten Billemont wrote:
least for the associative arrays case, because in the case of normal
arrays,
ksh93 does some pretty funny things:
| dualbus@hp ~ % ksh93 -c 'a=(); a+=([0]=b); typeset -p a'
| typeset -A a=([0]=b) # Ha! Now 'a' is an associative
Hello
The bash-manual says:
Words of the form $'string' are treated specially. The word expands to
string, with backslash-escaped characters replaced as specified by the
ANSI C standard. Backslash escape sequences, if present, are decoded as
follows:
...
\cxa control-x character
Am 31.08.2015, 15:17 Uhr,SCHRIEB Chet Ramey :
Conversion to a control character is effected by ANDing with 0x1f, since
the valid control character range is 0-0x1f. If you have something
that's
not a valid control character after being ANDed with 0x1f, you get
undefined results.
There is a t
Am 02.09.2015, 14:19 Uhr,SCHRIEB Chet Ramey :
echo $'\c?' |od -a
echo $'\c[\c\\c]\c^\c_\c?' |od -a
bash prints:
000 us nl
002
000 esc fs c ] rs us us nl
I'd expect:
000 del nl
002
000 esc fs gs rs us del nl
Also the ] in the output seems wrong, looks
When doing redirection inside a sub-process to a descriptor that is
redirected to a file the output of the subshell goes into the file.
Now when the same descriptor is again redirected to another descriptor for this
whole
command-list, the output of the sub-process goes to the other descriptor.
Am 23.08.2016, 17:00 Uhr, schrieb Chet Ramey:
It has to do when things are processed. Process substitution is not a
command or a redirection: it is a word expansion that expands to a file
name. Word expansions are performed before redirections.
Sure: similar to command-substitution as mentio
Am 24.08.2016, 18:00 Uhr, schrieb Chet Ramey:
echo > >(echo 3 1>&3)
echo +
cat tb.err
echo -
wait
I get in bash:
Strange. I get
+
1
-
+
11
-
+
-
2
+
2
3
-
on Mac OS X and RHEL 6. I'm not sure why the last redirection (the one
with just process subst