Hey Mic, the script has an issue, it's throwing an error and zeroing out
all files. Any ideas.
w:/lamar/sed.exe: -e expression #1, char 47: Unterminated `s' command
sed "s/file:\/\/dles273\//http:\/\/fserv.sc.ti.com\/" "%%a" >temp.file
________________________________
From:
batchworld@... [mailto:
batchworld@...] On
Behalf Of foxidrive
Sent: Friday, June 06, 2008 12:57 PM
To:
batchworld@...
Subject: Re: [BATCH WORLD] Find and Replace in Files
On Fri, 6 Jun 2008 11:16:09 -0500, "Morris, Lamar" <
LamarMorris@...
<mailto:LamarMorris%40ti.com> > wrote:
>Thanks Mic, I can always count on you. One question, I probably gave
you
>too much information.
>
>I would only need to find file://dles273 <file:///\\dles273> and
replace it with
>
http://fserv.itg.ti.com <
http://fserv.itg.ti.com>
>
>My question is will this do that.
Oops. There were some errors Lamar.
This will replace file://dles273/ <file:///\\dles273\> with
http://fserv.itg.ti.com/ <
http://fserv.itg.ti.com/>
sed "s/file:\/\/dles273\//http:\/\/fserv.itg.ti.com\//" "%%a" >temp.file
This will replace file://dles273 <file:///\\dles273> with
http://fserv.itg.ti.com <
http://fserv.itg.ti.com>
sed "s/file:\/\/dles273/http:\/\/fserv.itg.ti.com/" "%%a" >temp.file
[Non-text portions of this message have been removed]