|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
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
__________________
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? Last edited by pentium5 : April 10th, 2002 at 06:56 PM. |
|
#2
|
|||
|
|||
|
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
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
|||
|
|||
|
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: Quote:
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 06:12 PM. |
|
#4
|
|||
|
|||
|
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/...c&f=23&t=000182 |
|
#5
|
|||
|
|||
|
/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 08:11 AM. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > need to "melt date" into the subject |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|