summaryrefslogtreecommitdiffstats
path: root/fortune/tools/Troff.sed
diff options
context:
space:
mode:
Diffstat (limited to 'fortune/tools/Troff.sed')
-rw-r--r--fortune/tools/Troff.sed13
1 files changed, 13 insertions, 0 deletions
diff --git a/fortune/tools/Troff.sed b/fortune/tools/Troff.sed
new file mode 100644
index 00000000..32166812
--- /dev/null
+++ b/fortune/tools/Troff.sed
@@ -0,0 +1,13 @@
+/^['.]/s//\\\&&/
+/^%%/s//.&/
+/--/s//\\*-/g
+/_a-squared cos 2(phi)/s//\\fIa\\fP\\u2\\d cos 2\\(*f/
+/__**\([a-zA-Z]*\)/s//\\fI\1\\fP/g
+/"\(.\)/s//\1\\*:/g
+/`\(.\)/s//\1\\*`/g
+/'\(.\)/s//\1\\*'/g
+/~\(.\)/s//\1\\*~/g
+/\^\(.\)/s//\1\\*^/g
+/,\(.\)/s//\1\\*,/g
+/\(.\)\(.\)/s//\\o_\1\2_/g
+/*/s//\\(bs/g