[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Piping to windows command line .rb file doesn't work

Mills Thomas (app1tam)

10/14/2003 8:28:00 PM

I hope it's not impossible. I get so tired of being stuck with the Windows
crap all the time.

Someone was just in my cube telling about this great Windows tool he had
that could 'Create an image of a CD by just using a few buttons'. What a
cool idea! Then I told him (trying not to be snooty, honest) that I've been
able to do

'dd if=/dev/disk of=cd.iso'

on Linux for ages.

I want my Unix tools back! Barring that, I'll take a command line that
functions properly so I can fake it with Ruby. Barring that, I'll go back
in my den and sulk.

Drew

> -----Original Message-----
> From: Michael Campbell [mailto:michael_s_campbell@yahoo.com]
> Sent: Tuesday, October 14, 2003 4:15 PM
> To: ruby-talk@ruby-lang.org
> Subject: Re: Piping to windows command line .rb file doesn't work
>
>
> Mills Thomas (app1tam) wrote:
>
> >>What about type cat.rb | ruby cat.rb ?
>
> > That works fine. But it isn't what I wanted. I'm trying to get
> some of the
> > common Unix commands available under Windows. And I want them to
> work like
> > they do on the Unix command line.
>
> My point in asking was to try and determine if it was an
> issue of ruby,
> or one of window's association of .rb files and spawning of ruby. It
>
> seems the latter.
>
> Not to sound catty, but sometimes you can't get what you
> want, when what
> you want is Unix under Windows. Windows just simply isn't Unix;
> sometimes compromises have to be made. I'm not sure that
> that's the case
> here necessarily.
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
http://shopping...

1 Answer

Jussi Jumppanen

10/15/2003 1:41:00 AM

0

Mills Thomas (app1tam) wrote:

> I hope it's not impossible. I get so tired of being stuck with
> the Windows crap all the time.
>
> ...
>
> I want my Unix tools back!

Have you tried Cygwin:

http://www....

I have not used Cygwin myself, but from what I have read,
it makes the Windows platform almost usable for anyone
with fingers that only understand Unix :)

Jussi Jumppanen
Author of: Zeus for Windows (All new version 3.90 out now)
"The C/C++, Cobol, Java, HTML, Python, PHP, Perl programmer's editor"
Home Page: http://www.ze...