File: helpgen.py

package info (click to toggle)
libmongocrypt 1.17.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,572 kB
  • sloc: ansic: 70,067; python: 4,547; cpp: 615; sh: 460; makefile: 44; awk: 8
file content (7 lines) | stat: -rw-r--r-- 202 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
lines = []
for line in open ("README.md", "r"):
    line = line.replace("\"", "'")
    lines.append("\"" + line[:-1] + "\\n\"")

with open ("HELP.autogen", "w") as out:
    out.write ("\n".join(lines))