> On Sun, 12 Jun 2005 17:38:16 +0200, Roy Schestowitz
> <firstname.lastname@example.org> wrote:
>>> On Sun, 12 Jun 2005 06:27:14 +0100, in alt.html Roy Schestowitz
>>> <email@example.com> wrote:
>>>> Can anybody recommend a simple program/script that will insert given
>>>> (input) lines to a HTML header? I need this to operate on a large
>> I added an RSS feed link to the header of all static pages of my site
>> (they are static because Perl generates them
> You're already familiar with perl? Then say so! :)
> Sed is fine, but I guess in your case you'll prefer perl. Google for perl
> -pi -e trick.
I can read Perl, understanding what it does by relying on context. I can't
quite write Perl because I never learned it.
>> If anybody is interested in the scripts, I have documented everything at
>> the following address:
> Mine is shorter and hardly needs its own page:
> perl -pi -e 's/olde text/new text/' `find . -name \*.html`
> Talk about elegant ;)
*smile* You'll shatter my confidence. Don't show me the back door after I
dynamited the main gate...
Roy S. Schestowitz