#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    entlegen
    Posts
    442
    Rep Power
    14

    need to "melt date" into the subject


    I need to melt the date in to subject so that a fresh news can be sent at a current news
    #!/bin/sh

    set -x
    date > $date1 <------- these part is all wrong and I do not know how to do it!!
    title=date1
    echo title\r
    echo "$date1"


    ## this is working one to send news to one newsgroup at a time.
    #/usr/local/bin/newspost -l 50 -s "$title please -this is a testing" -f email@mymail.com -o "your organization" -i news.myisp.com -n alt.testing -t testing.html
    Last edited by pentium5; April 10th, 2002 at 07:56 PM.
    regards,

    wish to use AT 89c51 single chip computer to do remote sensing and send the data back from woods to office via nokie 3330 and internet. HOW?
    first I must revise C program thro' example, what's next?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Location
    Back in the real world.
    Posts
    5,966
    Rep Power
    191
    Code:
    set -x 
    date1=`date` <------- these part is all right and I do know how to do it!! 
    title=$date1 
    echo -e $title\r <---- you forgot the -e or it will not parse escape codes like \r
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    entlegen
    Posts
    442
    Rep Power
    14
    I need to re-install the newpost software, it seems that it can substitue the date as part of the title.

    Will inform u about this , I am busy in configure qmail in my testing HD.


    can u help too in the Linux forum that I have posted in devshed.com.

    I may ask silly question. Can u get into linuxnewbie.org ie the general linux question.


    I have this:

    Content-type: text/html
    Software error:
    Can't find string terminator '"' anywhere before EOF at /www/lc/linewbie/www/ubb/Forum1/forum_1.threads line 17920.
    For help, please send mail to the webmaster (webmaster@linuxnewbie.org), giving this error message and the time and date of the error. Content-type: text/html

    Software error:
    [Fri Apr 26 19:09:44 2002] ultimatebb.cgi: Can't find string terminator '"' anywhere before EOF at /www/lc/linewbie/www/ubb/Forum1/forum_1.threads line 17920.
    For help, please send mail to the webmaster (webmaster@linuxnewbie.org), giving this error message and the time and date of the error.
    I then wrote a letter to web-master but the letter is bounded back to me. Other discusssion is ok.
    Last edited by pentium5; April 26th, 2002 at 07:12 PM.
    regards,

    wish to use AT 89c51 single chip computer to do remote sensing and send the data back from woods to office via nokie 3330 and internet. HOW?
    first I must revise C program thro' example, what's next?
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Location
    Back in the real world.
    Posts
    5,966
    Rep Power
    191
    if the webmaster is not reachable under his email address, he is a bad webmaster

    itīs a bug in their forum software, what do you expect me to do?

    they canīt fix it for a year already. read this thread:

    http://www.linuxnewbie.org/cgi-bin/u...&f=23&t=000182
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    entlegen
    Posts
    442
    Rep Power
    14
    /usr/local/bin/newspost -l 50 -s " Human resource Information System $title " -f noemail@email.com -o "your organization" -i news.XXXX -n alt.XXXX -t personnel.txt





    very nice now. thanks!
    Last edited by pentium5; August 20th, 2002 at 09:11 AM.
    regards,

    wish to use AT 89c51 single chip computer to do remote sensing and send the data back from woods to office via nokie 3330 and internet. HOW?
    first I must revise C program thro' example, what's next?

IMN logo majestic logo threadwatch logo seochat tools logo