When I put single quotes around backslash like this
echo '\'
it prints the backslash, it does not care for escaping.
but when I use the same thing in sed like this
sed 's/\/a/g' : trying to replace backslash with a
or in case of grep
echo '\\//' |grep '\', it does not work and it requires escaping as well.
why does this backslash need to be escaped? I mean inside all of these lose their meaning right?