Linux.com

Are the backslashes necessary?

Posted by: Administrator on August 04, 2005 12:07 AM
In the example

sed s/\//g

What are the '\' characters for?
Presumably they're to escape the '' characters.
But '' are not a special characters. Are they?
xyz

#

Return to CLI Magic: Regular expressions and metacharacters