[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Thu, 15 Sep 2005 14:36:17 -0400 -->
- <!--x-from-r13: wxvaarl ng ybpnyargfbyhgvbaf.pbz (Xnzrf B. Yvaarl WWW) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] regexp help -->
- <li><em>date</em>: Thu, 15 Sep 2005 14:36:17 -0400</li>
- <li><em>from</em>: jkinney at localnetsolutions.com (James P. Kinney III)</li>
- <li><em>in-reply-to</em>: <<a href="msg00325.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00325.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] regexp help</li>
This will make a local copy AND set all the names to be localized and
drop the entire pile into a directory named old.website.foo .
On Thu, 2005-09-15 at 12:55 -0400, David Hamm wrote:
> Hi,
>
> I need to move a number of .htm files to a Linux web server, but the support
> image file names are all in random case and so are the src= tags.
>
> Can anyone tell me how to convert the case of the file name referenced in the
> following line.
>
> src="../images/XyZ.gif" to src="../images/xyz.gif"
>
> I'm working with s/src\=\".*\"/ but don't know how to specify changing the
> case to lower in the replacement side of the regular expression.
>
> Thanks.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
--
James P. Kinney III \Changing the mobile computing world/
CEO & Director of Engineering \ one Linux user /
Local Net Solutions,LLC \ at a time. /
770-493-8244 \.___________________________./
<a rel="nofollow" href="http://www.localnetsolutions.com">http://www.localnetsolutions.com</a>
GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00325" href="msg00325.html">[ale] regexp help</a></strong>
<ul><li><em>From:</em> ale at spinnerdog.com (David Hamm)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00332.html">[ale] ThinkPad sound working</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00330.html">[ale] ThinkPad sound working (DVDs too slow)</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00327.html">[ale] regexp help</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00334.html">[ale] dangerous - but i did it anyway</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00329"><strong>Date</strong></a></li>
<li><a href="threads.html#00329"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>