[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash-3.1.1: source does not work in conjunction with process substitutio
From: |
Dmitry V. Levin |
Subject: |
bash-3.1.1: source does not work in conjunction with process substitution |
Date: |
Sat, 7 Jan 2006 01:23:11 +0300 |
Hi,
The "source" builtin does not work in conjunction with process
substitution:
$ bash -ec 'cat <(echo echo 1)'
echo 1
$ bash -ec '. <(echo echo 1)'
$ strace -e trace=file,desc bash -ec '. <(echo echo 1)'
[...]
stat64("/dev/fd/63", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
open("/dev/fd/63", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
read(3, "", 0) = 0
close(3) = 0
Original bug report:
https://bugzilla.altlinux.org/show_bug.cgi?id=7475
--
ldv
pgpa5kpvjL_B1.pgp
Description: PGP signature
- bash-3.1.1: source does not work in conjunction with process substitution,
Dmitry V. Levin <=