summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/bc/fix_math.h
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1993-04-10 15:51:24 +0000
committercgd <cgd@NetBSD.org>1993-04-10 15:51:24 +0000
commit439d2fb46cfec58a16c4a9856cc00ea4a2ee6de3 (patch)
treedd34836a974bf8d23a53a2773f34394576710d12 /gnu/usr.bin/bc/fix_math.h
parenta3960efdef82d52889d981e42c8e404f99470203 (diff)
gnu bc. necessary to compile the distribution
Diffstat (limited to 'gnu/usr.bin/bc/fix_math.h')
-rw-r--r--gnu/usr.bin/bc/fix_math.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/usr.bin/bc/fix_math.h b/gnu/usr.bin/bc/fix_math.h
new file mode 100644
index 00000000000..020e4112df5
--- /dev/null
+++ b/gnu/usr.bin/bc/fix_math.h
@@ -0,0 +1,8 @@
+ed math.h <<EOS-EOS
+1,1s/^/"/
+1,\$s/\$/\\\\/
+\$,\$d
+\$,\$s/\\\\\$/"/
+w
+q
+EOS-EOS