Since this is the escape character how can it be used with SED? I have a line:
data here\ [linebreak]
data here\ [linebreak]
and I need to replace the \ with a new character and the linebreaks with dos line breaks. Any help?
Using backslash (\) in SED
Started by Tor, Feb 05 2008 06:43 AM
3 replies to this topic
#1
Posted 05 February 2008 - 06:43 AM
|
|
|
#2
Posted 05 February 2008 - 07:01 AM
I don't know about SED, but in many other languages you're just "escaping" the escape-character; \\
#3
Posted 21 February 2008 - 03:46 PM
So I just use it twice? \\
#4
Posted 21 February 2008 - 11:18 PM
If you want to use \ in a string, then it has to be \\, yes.


Sign In
Create Account


Back to top









