[lug] scripting on linux to replace "find and replace"

Michael J. Pedersen marvin at keepthetouch.org
Tue Sep 26 11:11:04 MDT 2000


On Tue, Sep 26, 2000 at 10:50:06AM -0600, John Starkey wrote:
> 1) I need to create 70 files, all identical except for 2 numbers in the
> <img> tag. These two numbers need to increment relative to the file name
> (file1 -> <img src="001">; file2 -> <img src="002>) ( a slide show ).
> 
> 2) When the client sends the layout I'll need to break these 70 files down
> into groups and rename both the files and images (140 files at this
> point). I could probably work this without changing the names.
> 
> 3) Certain files will need navigation buttons. So I'll need to specify
> which file and where in the file to place these buttons. 

This can be done almost trivially in perl, and that's prolly how it should be
done. However, I don't have enough details. Could email me the exact steps to
take? ie: What's your algorithm for doing all of this?

-- 
Michael J. Pedersen
My GnuPG KeyID: 4E724A60        My Public Key Available At: wwwkeys.pgp.net
My GnuPG Key Fingerprint: C31C 7E90 5992 9E5E 9A02 233D D8DD 985E 4E72 4A60
GnuPG available at http://www.gnupg.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20000926/02828be2/attachment.pgp>


More information about the LUG mailing list