Assuming you are trying to be helpful; it didn't work.  Now I don't know
what the heck *you* are talking about.  I thought I *had* specified the
file (readme.txt) on the command line.

                                                - fleet -

At 17:00 11/12/99 -0800, you wrote:
>
>try this.  Instead of always sending mailfile.r, send the file
>specified on the command line.
>
>Sterling
>
>REBOL [
>    Title: "Email a Text File"
>    File:  %mailfile.r
>    Date:  10-Sep-1999
>    Purpose: {Send a text file (as text of message).}
>    Note: {
>        Puts the name of the file in the subject line.
>    }
>]
>
>file: to-file system/options/args  ;name of file to send
>
>send [EMAIL PROTECTED] reform [
>    "File:" file newline newline read file
>]
>
>> My command on Linux is:
>> 
>> $rebol mailfile.r readme.txt 
>>  - where readme.txt is in the current directory and mailfile.r is in
>> ../rebol off the current directory.  
>> 
>> rebol runs and sends me the mailfile.r script.  
>> 
>> What am I doing wrong?  Something silly, obvious and stupid, obviously!
>> 
>>                                      - fleet -
>> 
>> (so noone will need to go look it up - here is the script as I have it for
>> my machine.)
>
>

Reply via email to