1.5.25-7 piping directed output to /dev/stdout will not work

Leutwein Tobias (BEG-PG/EES) Tobias.Leutwein@de.bosch.com
Fri Feb 15 09:50:00 GMT 2008


Since I updated to 1.5.25 piping directed output to /dev/stdout with
bash 3.2.33-18 will not work.

Example:
>echo "test string" | wc -w        
2

>echo "test string" > /dev/stdout        
test string

>echo "test string" > /dev/stdout | wc -w
v:\Programme\cygwin\current\bin\bash: echo: write error: Bad file
descriptor
0

>ls -la /dev/stdout 
lrwxrwxrwx 1 tle2si mkgroup-l-d 15 Feb  1 09:19 /dev/stdout ->
/proc/self/fd/1

Regards
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 38948 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20080215/af8a8060/attachment.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list