OurBigBook logoOurBigBook Docs OurBigBook logoOurBigBook.comSite Source code
Take input from stdin as a plaintext string and produce output escaping the input string so that OurBigBook conversion will result in a single output string. E.g.:
printf '\\a[`\n' | ourbigbook --escape-literal
outputs:
\\a\[\`\
so that every character that needed to be escaped was fully escaped to produce plaintext output.
Note that newlines are also currently escaped even when that is not strictly needed, e.g. in the case of double newlines it would be needed but not for single newlines. But we are keeping it simple for now.

Ancestors (3)

  1. OurBigBook CLI options
  2. OurBigBook CLI
  3. Home