Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: need programmers help
- To: <tlug@example.com>
- Subject: Re: tlug: need programmers help
- From: "Eric Standlee" <fwiw3980@example.com>
- Date: Tue, 16 Jun 1998 18:51:33 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain;charset="iso-8859-1"
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
Actually, either gawk or perl can do it rather quickly. The thing you need to keep in mind is that you will need to edit that rc script anyway if I understand you right. I am assuming that the rc script will handle placement of the new archives as they come in... I am not sure that I can hack and awk script out as quickly as our brother in Nevada claims, but it should be rather simple. Once it is created, you should keep it as an example for future changes to the archives. If you could send a copy of the html lines you want added, then I can try to hack something and we can see who can get a script working faster... Felix is right in suggesting perl though, because it is faster than awk/gawk, actually though you can even use ed. It all depends on which language you are familiar with and feel more comfortable with... I guess I don't have to wait for you to send the code since it is at that link, but it would be good to have a before and after of exactly what you want. And, of course, you need to answer the questions Felix asked. Eric S. Standlee Kashihara-shi <Kintetsu Yamato Yagi> Nara, Japan e-w.standlee@example.com -----Original Message----- From: Felix Morley Finch <felix@example.com> To: tlug@example.com <tlug@example.com> Date: Tuesday, June 16, 1998 6:11 PM Subject: Re: tlug: need programmers help >>>In article <XFMail.980616174944.schweiz@example.com>, Jim Schweizer <schweiz@example.com> writes: > >> That yellow bar is about 14 lines of code and I'm not sure how >> to do what you're suggesting since it has to be inserted in the >> middle of each page. If it was just appending something cat >> would work, but this has to either read down a certain number of >> lines or look for the <BLOCKQUOTE> or 'something'. > >I'm certain someone closer could do it faster, as it's getting way >past my bedtime here in Nevada. Probably safer too :-) But it should >be simple to write a perl program or shell script to munch thru these >things in a hurry, just a few lines of code. That's assuming the >operation is well defined :-) > >1. Exactly what goes in? Is it always the same 14 lines, or does > content differ per file? Also, just to avoid confusion, show the > new HTML lines; I don't know enough HTML to tell for sure where the > end is. > >2. Exactly where does it go? Is it always right after the BLOCKQUOTE > tag? > >3. Is the BLOCKQUOTE tag always on a line by itself? If there is > other stuff following the BLOCKQUOTE tag on the same line, does the > new HTML go on the line following or on the same line? > >-- > ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. > Felix Finch: scarecrow repairman & rocket surgeon / felix@example.com > PGP = 91 B3 94 7C E9 E8 76 2D E1 63 51 AA A0 48 89 2F ITAR license #4933 >I've found a solution to Fermat's Last Theorem but I see I've run out of room o >-------------------------------------------------------------- >Next Nomikai: 17 July, 19:30 Tengu TokyoEkiMae 03-3275-3691 >Next Meeting: 8 August, Tokyo Station Yaesu central gate 12:30 >*** 20 June: TLUG will be at the Tokyo Linux Fair >http://tlug.linux.or.jp/projects/linux-fair/fair.html >-------------------------------------------------------------- >Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp -------------------------------------------------------------- Next Nomikai: 17 July, 19:30 Tengu TokyoEkiMae 03-3275-3691 Next Meeting: 8 August, Tokyo Station Yaesu central gate 12:30 *** 20 June: TLUG will be at the Tokyo Linux Fair http://tlug.linux.or.jp/projects/linux-fair/fair.html -------------------------------------------------------------- Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: need programmers help
- Next by Date: tlug: A little gadget for the Web page designers out there
- Prev by thread: Re: tlug: need programmers help
- Next by thread: Re: tlug: need programmers help
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links