Bug 50142 - output and input redirect fails
output and input redirect fails
Product: Red Hat Linux
Classification: Retired
Component: bash (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
Aaron Brown
Depends On:
  Show dependency treegraph
Reported: 2001-07-27 03:31 EDT by johan
Modified: 2007-04-18 12:35 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-07-27 03:32:02 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description johan 2001-07-27 03:31:58 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 98)

Description of problem:
When I redirect input and ouput in a bash shell to communicate with a 
modem on ttySx the output goes to stdout. 

It did work in RH5.1 but since upgrading to RH 7.0 it no longer works.

When using bash from the RH 5.1 distribution in an RH 7.0 environment the 
problem does not occur.

How reproducible:

Steps to Reproduce:
1. Create a bash script such as;

chat -t 30 '' ATZ OK '' <> /dev/ttyS0

2. Execute the scrpit

3. The output will be something like;
# ./"script_name"

4. Notice that the output from the chat command came to stdout instead of 

Additional info:
Comment 1 Bernhard Rosenkraenzer 2002-01-17 16:17:54 EST
This is true, but it's not a bug.
The new behavior is the one required by the POSIX standard (which bash >= 2.0 is following).

Note You need to log in before you can comment on or make changes to this bug.