I have a path string, "xyz", that I want to prefix a volume specification
to (under MS-Windows), so that I get "v:\xyz". If I use the following

  echo "xyz" | sed "s/^/v:\\/"

I get a "unterminated `s' command" response. Why? It
seems that sed is associating the second "\" in "\\/"
with the "\" instead of with the first "\". Why? What
is the proper way to accomplish the substitution?
-- 
Randy Yates
Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
[EMAIL PROTECTED], 919-472-1124
_______________________________________________
help-gnu-utils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-utils

Reply via email to