On Nov 28, 8:44 am, Jan Schampera <jan.schamp...@web.de> wrote:
> Antonio Macchi schrieb:
>
> > $ hd <(echo -en \\0{0..3}{0..7}{0..7})
>
> > it breaks the console.
>
> It doesn't "break the console", it crashes the shell (here with a
> subshell to get the text):
>
> bon...@core:~$ bash
> bon...@core:~$ hd <(echo -en \\0{0..3}{0..7}{0..7})
>
> malloc: ../bash/subst.c:4198: assertion botched
> realloc: start and end chunk sizes differ
> last command: hd <(echo -en \\0{0..3}{0..7}{0..7})
> Aborting...Abgebrochen (core dumped)

Works for me.

Neither you nor Antonio say what version of Bash or the OS.

I don't get an error and the output is correct.

I tried it in Bash 4.0.33(1)-release under Ubuntu 9.10 (using hd) and
Bash 3.2.49(23)-release under Cygwin 1.7.0 (using hexdump -C).

Reply via email to