Am 28.11.2009 06:35, schrieb r...@saturn.syslang.net:
Description:
use of $(< filename | program) does not work. It either should or it
should be properly documented.
The problem also happens on bash4.
Repeat-By:
qq=$(< /etc/passwd | grep sys)
echo $qq
Bernd Eggink writes:
> Am 28.11.2009 06:35, schrieb r...@saturn.syslang.net:
>>
>> Description:
>> use of $(< filename | program) does not work. It either should or it
>> should be properly documented.
>> The problem also happens on bash4.
>>
>> Repeat-By:
>>
>> qq=$(< /etc/pass
Configuration Information [Automatically generated, do not change]:Machine:
i486OS: linux-gnuCompiler: gccCompilation CFLAGS: -DPROGRAM='bash'
-DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='lin$uname output: Linux emperor
2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:2$Machine Type:
i486-pc-linux-g
$ hd <(echo -en \\0{0..3}{0..7}{0..7})
it breaks the console.
On Sat, 28 Nov 2009, jida...@jidanni.org wrote:
Please implement emacs'
M-SPC (translated from SPC) runs the command just-one-space,
which is an interactive compiled Lisp function in `simple.el'.
I mean you already implement
M-\ (translated from \) runs the command
delete-horizontal-spa
On Sat, 28 Nov 2009, Antonio Macchi wrote:
$ hd <(echo -en \\0{0..3}{0..7}{0..7})
it breaks the console.
The behaviour of bash with this construct
has changed between 3.x and 4.x so maybe indicate the version
you are using (or just use bug-bash)
Also perhaps indicate what you want to ach
Also perhaps indicate what you want to achieve (I don't have an
hd command, and didn't find a man page after a quick search)
sorry.. i'll be more precise in future...
but, if you don't have hd (hexdump) how can you see the content of a,
for example, strange file
i mean
$ ls -l
total 0
-rw-r
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Antonio Macchi on 11/28/2009 6:57 AM:
> but, if you don't have hd (hexdump) how can you see the content of a,
POSIX requires the existence of od, and od can be used to emulate hexdump.
You are very unlikely to find a system that lacks od
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:419
On Nov 28, 8:44 am, Jan Schampera 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
On Nov 28, 4:46 am, Andreas Schwab wrote:
> Bernd Eggink writes:
> > Am 28.11.2009 06:35, schrieb r...@saturn.syslang.net:
>
> >> Description:
> >> use of $(< filename | program) does not work. It either should or
> >> it should be properly documented.
> >> The problem also happen
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: /usr/gcc/bin/gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu'
-DCONF_VENDOR='unknown' -DLOCALEDIR='/us
tho...@koeller.dyndns.org wrote:
> Description:
> I failed at building a statically linked, working bash. First of all,
> the only way to build is
> by giving the '--with-bash-malloc=no' argument to configure, because
> otherwise the linker will
> complain about multiple de
r...@saturn.syslang.net wrote:
> Description:
> use of $(< filename | program) does not work. It either should or it
> should be properly documented.
> The problem also happens on bash4.
>
> Repeat-By:
>
> qq=$(< /etc/passwd | grep sys)
> echo $qq
> # result is nul
Antonio Macchi wrote:
> $ hd <(echo -en \\0{0..3}{0..7}{0..7})
>
>
> it breaks the console.
This was a bug in bash-3.2; fixed in bash-4.0. You hit it when you
get close to exceeding the max number of open file descriptors using
the /dev/fd version of process substitution.
Chet
--
``The lyf so
PG> maybe try the following macro:
PG> bind '"\M- ":"\M-\\ "'
Sorry, that doesn't work on the command line or .inputrc.
No effect.
On Nov 28, 5:25 am, "dennis" wrote:
> Configuration Information [Automatically generated, do not change]:Machine:
> i486OS: linux-gnuCompiler: gccCompilation CFLAGS: -DPROGRAM='bash'
> -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='lin$uname output: Linux emperor
> 2.6.31-14-generic #48-Ubuntu SMP Fri Oct
Chet Ramey wrote:
> r...@saturn.syslang.net wrote:
>
>> Description:
>> use of $(< filename | program) does not work. It either should or it
>> should be properly documented. The problem also happens on bash4.
>>
>> Repeat-By:
>>
>> qq=$(< /etc/passwd | grep sys)
>> echo $qq
>> # result is null
DennisW wrote:
> On Nov 28, 5:25 am, "dennis" wrote:
>> Configuration Information [Automatically generated, do not change]:Machine:
>> i486OS: linux-gnuCompiler: gccCompilation CFLAGS: -DPROGRAM='bash'
>> -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='lin$uname output: Linux emperor
>> 2.6.31-14-generic #
19 matches
Mail list logo