Expression Help



I am trying to replace all occurrences of a windows path such as "C:\Dir 1\Dir 2\Dir with more spaces" to a similar path, and have it case insensitive, and I can't make it work.
Anyone got an idea? I am hoping the syntax is compatible with Sed as my script has to be ran in two mode's, one being by hand with Sed :(

Thanks!
jlc


Relevant Pages

  • Re: Script w/ backquotes not working.
    ... >I am writing a script that has a windows path in it. ... The translation \b to backspace is being done by the "echo" command. ...
    (comp.unix.shell)
  • Re: Script w/ backquotes not working.
    ... like the problem I am seeing in my main script. ... >>I am writing a script that has a windows path in it. ... >>path which backspaces out when using back quotes. ... >>everything in single quotes all combinations of those two also. ...
    (comp.unix.shell)
  • Script w/ backquotes not working.
    ... I am writing a script that has a windows path in it. ... path which backspaces out when using back quotes. ... everything in single quotes all combinations of those two also. ...
    (comp.unix.shell)
  • cd $var where var is a windows path with spaces in it
    ... I'm writing a script trying to cd to a variable that is a windows path ... I'm sure this is a common question but couldn't ...
    (comp.unix.shell)