[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
incorrect use of /dev/std???
From: |
cate |
Subject: |
incorrect use of /dev/std??? |
Date: |
Tue, 20 Feb 2001 10:37:24 +0100 |
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-pc-linux-gnu'
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I.
-I/usr/include -I/home/swt/doko/export/packages/bash/bash-2.04
-I/home/swt/doko/export/packages/bash/bash-2.04/include
-I/home/swt/doko/export/packages/bash/bash-2.04/lib -I/usr/include -g -O2
uname output: Linux herodot 2.4.1 #7 Mit Jan 31 09:05:17 CET 2001 i686 unknown
Machine Type: i386-pc-linux-gnu
Bash Version: 2.04
Patch Level: 0
Release Status: release
Description:
[Detailed description of the problem, suggestion, or complaint.]
According to the info pages and the FAQ, the /dev/std??? should be
builtin into the bash.
But if I erase these files in /dev/, bash scripts that use redirection
to /dev/std???
stop work.
Maybe it only the documentation that it is wrong.
Repeat-By:
[Describe the sequence of events that causes the problem
to occur.]
echo "Debian" > /dev/stdout
without /dev/stdout device (or symlink to /proc/self/fd/?)
giacomo
PS: Should this script (bashbug) use the editor in $EDITOR env.?
- incorrect use of /dev/std???,
cate <=