Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-22-2003, 05:33 PM   #1
Registered: Aug 2002
Location: Atlanta
Distribution: Redhat Linux 7.2 & 7.3 + 8.0
Posts: 59

Rep: Reputation: 15
Perl Script Reading a txt file and generate html to be published!

Hello people,

Hope this finds everyone in good health.

This is what I am trying to do. The Principal of my school prints out a daily bulletin for the faculty every nite.

I would like to automate this process by having him simply type it up as a text file to a specified location on our network. Then at a specified time I could have a perl script read that text file and convert into html syntax or leave it as text to be published to our intranet side via a cgi include and hopefully save some trees.

Slick eh? The thing is does anyone know where I can get such a script if one already exists, I surely would not want to re-invent the wheel.

Old 09-22-2003, 06:12 PM   #2
Registered: Apr 2002
Location: Los Gatos, CA
Distribution: boring redhat 9
Posts: 163

Rep: Reputation: 30

That something along the right lines?

If not, you could do the unspeakable, and have him type it in Word or Frontpage and save it as html, in a specific place on the network. Then have a small script move it over to the web tree. Yeah, I agree, that idea sucks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading from a txt file into a two dimension array in C kponenation Programming 3 11-26-2005 08:04 PM
Reading a txt file in terminal over a network mdlister Programming 5 03-14-2005 08:47 AM
cgi perl : I cant get perl to append my html file... the_y_man Programming 3 03-22-2004 06:07 AM
perl reading pdf,ps,txt j-ray Programming 1 02-04-2003 11:49 AM
txt file to html > right forum ? saavik Programming 7 04-16-2002 09:42 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration