aboutsummaryrefslogtreecommitdiff
path: root/testsuite/xemacs.sed
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/xemacs.sed')
-rw-r--r--testsuite/xemacs.sed16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/xemacs.sed b/testsuite/xemacs.sed
new file mode 100644
index 0000000..ee2f744
--- /dev/null
+++ b/testsuite/xemacs.sed
@@ -0,0 +1,16 @@
+# Inspired by xemacs' config.status script
+# submitted by John Fremlin (john@fremlin.de)
+
+/^# Generated/d
+s%/\*\*/#.*%%
+s/^ *# */#/
+/^##/d
+/^#/ {
+ p
+ d
+}
+/./ {
+ s/\([\"]\)/\\\1/g
+ s/^/"/
+ s/$/"/
+}