bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sed - search replace slashed - Workaround


From: Mike Bytnar
Subject: sed - search replace slashed - Workaround
Date: Thu, 11 Jan 2001 17:30:44 -0600

Regarding my previous bug email...

The workaround is adding an third backslash to the search criteria to
recognize the backslash.

ECHO i:\test\test2 | sed 's/\\\/\//g' | cat

returns the expected result:
i:/test/test2


Hope this helps someone else with the same problem!

--Mike




reply via email to

[Prev in Thread] Current Thread [Next in Thread]