[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash uses stderr instead of /dev/tty ?
From: |
Padraig Brady |
Subject: |
bash uses stderr instead of /dev/tty ? |
Date: |
Thu, 12 Jul 2001 20:30:45 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010628 |
Why does bash print it's prompt/command line to stderr
and not /dev/tty? This is silly in my opinion. I noticed
it when I tried to redirect stderr to someplace (a colorizing
program) as follows:
exec 2> someplace
When I did this, everything worked fine, except the
prompt and command line were put in someplace
which I didn't want.
cheers,
Padraig.
- bash uses stderr instead of /dev/tty ?,
Padraig Brady <=