bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: incorrect use of /dev/std???


From: Chet Ramey
Subject: Re: incorrect use of /dev/std???
Date: Tue, 20 Feb 2001 08:45:47 -0500

> 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.

If bash is built in an environment where /dev/std{in,out,err} exist in the
file system, it will attempt to use those rather than emulating them
internally.

> PS: Should this script (bashbug) use the editor in $EDITOR env.?

It does.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]