[oclug] ...and speaking of awk...

Dave Edwards amoamasam at sympatico.ca
Thu Feb 22 17:17:55 EST 2001


Well, the good news is that that was a great response.  Thanks.

The bad news is they all failed.  Viz.:
 Dan Cardamore
 Name "main::F" used only once: possible typo at ./change-o.pl line 12.

Tom Goulet:
bash: file: No such file or directory
mv: tmpfile: No such file or directory

Francis's hung* and I had to ^C out of it.

Dave O'Neil's had syntax errors.

Adrian's hung*.

I haven't tried Skud's yet.  Part of this may be a fsck'd up Perl config. 
More on that later.

To test them all I mkdird a dir with three files respectively containing
the lines:

qwerqw<a href="http://www.spam.com/fud.html">Read the fud page!</a>qwerqw
<a href="http://www.spam.com/bar.html">Read the bar pages!</a>qwerqw
qwerqw<a href="http://www.spam.com/foo.html">Read the foo page!</a>

What I want is to change each of those to e.g. ./fud.html .  In the real
case,  the URL is unknown. 

Thanks, Dave.
 ____________________________________
*No off-colour jokes, please.  ;)
--
PGP Public Key http://www3.sympatico.ca/amoamasam/public-key.txt
>Are you now, or have you ever been, a user of the Linux operating system?



More information about the OCLUG mailing list