A couple questions about the CGI lib

Discussion in 'Ruby' started by Andy, Mar 4, 2008.

  1. Andy

    Andy Guest

    There is a play by email strategy game that I have been playing for
    quite a while. I've been keeping my turn reports and I've built a
    tool that will parse them for me so they are a bit easier to read. It
    will also merge my reports with my allys. Anyway, I'm working with
    the CGI lib to try and build a web page for the interface so it will
    be even easier to read. I have two questions. First, is it possible
    for me to send the output directly to a file? Currently I'm going in
    to the command prompt and using ruby cgitest.rb >blah.html but it
    would be easier if I could just have it automatically put into a file.
    Second, is there a way for me to cancel the off line mode? Having to
    push ctrl + z every time I run the script is a little annoying.
    Eventually I will put this up on the web but for now I just want it to
    run on my machine. Any help would be appreciated.

    --=20
    -Andy
    "I have a great faith in fools; self-confidence my friends call it." =96
    Edgar Allen Poe
     
    Andy, Mar 4, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Wayne  Wengert

    A Couple of Questions

    Wayne Wengert, Jan 22, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    336
    =?Utf-8?B?aSBkb250IGtub3cgbXVjaCBhYm91dCB2cy4uLmI=
    Jan 22, 2004
  2. Martin

    A Couple Of Questions

    Martin, Mar 6, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    361
    Mark Jerde
    Mar 6, 2004
  3. =?Utf-8?B?UnVkeQ==?=

    Couple of questions

    =?Utf-8?B?UnVkeQ==?=, Dec 27, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    330
    =?Utf-8?B?UnVkeQ==?=
    Dec 27, 2004
  4. =?Utf-8?B?U2NjcjE4?=

    Couple of easy questions

    =?Utf-8?B?U2NjcjE4?=, Jun 22, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    414
    =?Utf-8?B?U2NjcjE4?=
    Jun 22, 2005
  5. Ali Syed
    Replies:
    3
    Views:
    581
    Mark McIntyre
    Oct 13, 2004
Loading...

Share This Page