SunQuest
           Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old April 10th, 2002, 06:44 PM
pentium5 pentium5 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: entlegen
Posts: 442 pentium5 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
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.

Reply With Quote
  #2  
Old April 20th, 2002, 09:12 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
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.

Reply With Quote
  #3  
Old April 26th, 2002, 06:10 PM
pentium5 pentium5 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: entlegen
Posts: 442 pentium5 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
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:

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 06:12 PM.

Reply With Quote
  #4  
Old April 27th, 2002, 05:15 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
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

Reply With Quote
  #5  
Old April 29th, 2002, 07:49 PM
pentium5 pentium5 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: entlegen
Posts: 442 pentium5 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
/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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > need to "melt date" into the subject


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway