Loading ...
Sorry, an error occurred while loading the content.

Re: [BATCH WORLD] Need help with SED

Expand Messages
  • kn srivastava
    ... Thank you Marc. This one didn t work. The error message is as follows: sed: cannot rename ./sedDOSSUX: File exists The other one worked. I will go with the
    Message 1 of 3 , Feb 15, 2013
    • 0 Attachment
      On Fri, Feb 15, 2013 at 7:53 PM, Marc Peterson <marc.peterson@...> wrote:
      > ----------------------------------------
      > for /f "delims=" %%a in ('dir *.pscx /s /b') do (
      > echo %%a
      > sed -i "s/1.0101/1.0400/g" "%%a"
      > )
      > ----------------------------------------

      Thank you Marc. This one didn't work. The error message is as follows:

      sed: cannot rename ./sedDOSSUX: File exists

      The other one worked. I will go with the other one.

      Best regards
      Kailash
    Your message has been successfully submitted and would be delivered to recipients shortly.