From: SourceForge.net <no...@so...> - 2010-03-23 23:21:12
|
Bugs item #2975571, was opened at 2010-03-24 00:21 Message generated for change (Tracker Item Submitted) made by uzinngre You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=2975571&group_id=119701 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Platform Interface Group: v4.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: U. Zinngrebe (uzinngre) Assigned to: Nobody/Anonymous (nobody) Summary: Interpreter does not provide STDIN in pipeline Initial Comment: The old IBM oRexx interpreter could be used as stage in a pipeline (OS/2, Windows 2000/XP, Linux) The ooRexx interpreter seems not to work as stage command, example below (Windows XP, Linux SUSE 11.2) I don't find in the reference/programmer guide whether it is supposed to work. ---------------------------------------------------------------------------------------------------------------- OK as first stage in the pipeline: uli@ulmo:~> rexx test.rex <temp.dat | more HELLO aaa bbb ccc GOODBYE ------------------------------------------------------------------------------- As second stage in the pipeline, STDIN does not receive input: uli@ulmo:~> more <temp.dat | rexx test.rex HELLO GOODBYE ------------------------------------------------------------------------------- test.rex: say hello do while lines() line = linein() call lineout , line -- say line end say goodbye ------------------------------------------------------------------------------- temp.dat: aaa bbb ccc -------------------------------------------------------------------- uli@ulmo:~> rpm -q ooRexx ooRexx-4.1.0-5678.x86_64 uli@ulmo:~> uname -a Linux ulmo 2.6.31.12-0.1-desktop #1 SMP PREEMPT 2010-01-27 08:20:11 +0100 x86_64 x86_64 x86_64 GNU/Linux uli@ulmo:~> rexx -v Open Object Rexx Version 4.1.0 Build date: Mar 9 2010 Addressing Mode: 64 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=2975571&group_id=119701 |