×

Loading...

THX! The key to me is :"Echo has a peculiar behavior that when it encounters a single "\" who doesn't have anybody else to escape, it will print out "\" anyway. " I know the rest. And I did not ask this question for fun.

Cuz I wrote below statement in my script:

sed s/\\\\//\\\\\\\\\\\\//g tmpfile

And I was really puzzled when I tune this script. I had to try many times to get the correct form.

hehe...What's more, do you know what did I want to do with the statement above?
Report