386BSD 0.1 development
authorWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Tue, 5 Sep 1989 22:55:16 +0000 (14:55 -0800)
committerWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Tue, 5 Sep 1989 22:55:16 +0000 (14:55 -0800)
Work on file usr/othersrc/games/fortune/tools/Troff.sed

Co-Authored-By: Lynne Greer Jolitz <ljolitz@cardio.ucsf.edu>
Synthesized-from: 386BSD-0.1

usr/othersrc/games/fortune/tools/Troff.sed [new file with mode: 0644]

diff --git a/usr/othersrc/games/fortune/tools/Troff.sed b/usr/othersrc/games/fortune/tools/Troff.sed
new file mode 100644 (file)
index 0000000..3216681
--- /dev/null
@@ -0,0 +1,13 @@
+/^['.]/s//\\\&&/
+/^%%/s//.&/
+/--/s//\\*-/g
+/_\ba-squared cos 2(phi)/s//\\fIa\\fP\\u2\\d cos 2\\(*f/
+/__*\b\b*\([a-zA-Z]*\)/s//\\fI\1\\fP/g
+/"\b\(.\)/s//\1\\*:/g
+/`\b\(.\)/s//\1\\*`/g
+/'\b\(.\)/s//\1\\*'/g
+/~\b\(.\)/s//\1\\*~/g
+/\^\b\(.\)/s//\1\\*^/g
+/,\b\(.\)/s//\1\\*,/g
+/\(.\)\b\(.\)/s//\\o_\1\2_/g
+/\a\a*/s//\\(bs/g