json,validation,escaping. The escape ( \ ) preceding a character tells the shell to interpret that character literally. escaped characters, translates to the octal ASCII opposite effect - it can toggle on a special meaning for that Slash Bash has a minor but important role in the Zogre Flesh Eatersquest. Bash escape character is defined by non-quoted backslash (\). }, Published under the terms of the GNU General Public License. BoxAdcontent.document.write(""); BoxAdcontent.document.write("<\/body><\/html>"); I know this is easy with sed, but I could have sworn there once was a bash tool - maybe even coreutils - that's sole purpose was making strings like For me I wanted to remove the trailing slash from a URL so this would not have worked. Normally, $ symbol is used in bash to represent any defined variable. It tells BASH that ; is a part of file name and not command separator. With certain commands and utilities, such as echo and sed , escaping a character may have the opposite effect - it can toggle on a special meaning for that character. A double-quoted string preceded by a dollar sign will cause the string to be translated according to the current locale. Escaping a space can prevent word splitting in a command's argument list. a different command, but an escape at the end 4. Escaping is a method It preserves the literal value of the character followed by this symbol. so change that delimiter character to something that is not used in either the old or new strings. Follow answered Aug 2 '12 at 10:36. quanta quanta. When the Ogres find out that the zogre curse is irreversible, they decide to make their sacred burial ground in another spot. If you use: sed "s/old/new/" then slash becomes a special character and you must escape any slashes that appear in either the old or new strings. Yes the example in the article and parent comments ought to be referred to as escaping, not quoting. BoxAdcontent.document.write("