The pipe "trick" may only work under NT and 2000. It also works under Win98
using ksh (part of Uwin).

Ira

> From: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> Date: Mon, 21 Feb 2000 1:36:08 -0600
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Fw: [REBOL] Ok, how to print to STDOUT Re:(3)
> 
> Warped minds think alike.... tried it but I get a windows write error!!?
> (trying to write to a windows temp file)
> --
> Erik Jorgensen
> Programmer/Analyst - Principle
> Customer Service and Support
> Information & Access Technology Services
> University of Missouri - Columbia
> (573) 882-5974
> www.missouri.edu/~ccjorgie
> [EMAIL PROTECTED]
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, February 19, 2000 2:23 PM
> Subject: [REBOL] Fw: [REBOL] Ok, how to print to STDOUT Re:(2)
> 
> 
>> try
>> rebol -c drives.r | more
>> and see if that works.
>> 
>> Ira
>> ----- Original Message -----
>> From: <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Friday, February 18, 2000 10:06 PM
>> Subject: [REBOL] Fw: [REBOL] Ok, how to print to STDOUT Re:
>> 
>> 
>>> Still looking for help on this... (want output at the command line
> without
>>> showing a window....
>>> --
>>> Erik Jorgensen
>>> Programmer/Analyst - Principle
>>> Customer Service and Support
>>> Information & Access Technology Services
>>> University of Missouri - Columbia
>>> (573) 882-5974
>>> www.missouri.edu/~ccjorgie
>>> [EMAIL PROTECTED]
>>> ----- Original Message -----
>>> From: <[EMAIL PROTECTED]>
>>> To: <[EMAIL PROTECTED]>
>>> Sent: Thursday, February 17, 2000 9:45 AM
>>> Subject: [ALLY] Ok, how to print to STDOUT Re:
>>> 
>>> 
>>>> Thanks to everyone who responded... But...
>>>> 
>>>> How do I get rebol to print something at the dos prompt? I used the -c
>>>> specifically to suppress the window and the init info during
> execution,
>>> but
>>>> I expected the same data that can be redirected using > to show up in
> my
>>> dos
>>>> window.
>>>> 
>>>> Erik
>>>> 
>>>> Notice I made the suggested change...
>>>> 
>>>> --
>>>> Erik Jorgensen
>>>> Programmer/Analyst - Principle
>>>> Customer Service and Support
>>>> Information & Access Technology Services
>>>> University of Missouri - Columbia
>>>> (573) 882-5974
>>>> www.missouri.edu/~ccjorgie
>>>> [EMAIL PROTECTED]
>>>> 
>>>> 
>>>> 
>>>> -----Original Message-----
>>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>>>> Sent: Wednesday, February 16, 2000 7:22 PM
>>>> To: [EMAIL PROTECTED]
>>>> Subject: [ALLY] Ok, how to print to STDOUT
>>>> 
>>>> 
>>>> I wrote the following script:
>>>> 
>>>> ;---snip---------------
>>>> REBOL [
>>>> File: %drives.r
>>>> ]
>>>> 
>>>> list: make string! 1
>>>> 
>>>> list-drives: func [drives] [
>>>> foreach letter drives [
>>>> if not error? try [read to-file join "/" [letter "/."]]
>>>> [append list to-string letter]
>>>> ]
>>>> print list
>>>> ]
>>>> 
>>>> list-drives "cdefghijklmnopqrstuvwxyz"
>>>> ;---snip---------------
>>>> 
>>>> But when I run it with:
>>>> 
>>>> rebol.exe -c drives.r
>>>> 
>>>> I do not see the output. (Win98)
>>>> 
>>>> But:
>>>> 
>>>> rebol.exe -c drives.r > t
>>>> 
>>>> Does write the expected output to the file %t
>>>> 
>>>> Help!
>>>> 
>>>> Erik
>>>> --
>>>> Erik Jorgensen
>>>> Programmer/Analyst - Principle
>>>> Customer Service and Support
>>>> Information & Access Technology Services
>>>> University of Missouri - Columbia
>>>> (573) 882-5974
>>>> www.missouri.edu/~ccjorgie
>>>> [EMAIL PROTECTED]
>>>> 
>>> 
>>> 
>> 
> 
> 

Reply via email to