The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

Search and replace

i am in the process of moving my site from windows server to a linux server. Once of the things i need to make sure is all the links are proper. I converted all the files to lower case to be consistent but the problem is i need to change the links all over to make sure its all in lower case.

I have been using dreamweaver search and replace to convert all the names to lower. I was wondering if there is a simpler way to do this.

for example i want to convert everything inside
<form action="[all charecters here ]">
<form action ="[lower caps]">

is it possible to do it with regular expression??
Sandeep Seshadri Send private email
Thursday, December 04, 2008
awk -F'"' '{$2 = tolower($2); print $0}' old_file > new_file

would work on the Linux side, assuming the input format is really as you depict.
William Dowling Send private email
Thursday, December 04, 2008

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
Powered by FogBugz