Yes. Yegolev's solution is less messy. But don't forget about using \ to escape a / or other characters. You may need it in the future when # doesn't work for a particular scripting scenario.
I added the comment about using \ to escape characters when escape characters (delimiters?) don't work "for a particular scripting scenario" -- for example, is you are using sed or awk in a script.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.