summaryrefslogtreecommitdiff
path: root/testsuite/manis.sed
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2014-09-06 10:42:25 -0700
committerJim Meyering <meyering@fb.com>2014-11-30 18:59:32 -0800
commitd0c7a7dc82cf80af2d831f82deea1e29faf92e86 (patch)
treee8f7b97f308b9e16fe9a8385c05b7de66f8464e0 /testsuite/manis.sed
parentf147efc9ef8274a397b9321b62ee4d9cb28609b8 (diff)
downloadsed-d0c7a7dc82cf80af2d831f82deea1e29faf92e86.tar.gz
maint: remove all trailing white space
First, run this command: git grep -l ' $'|xargs perl -pi -e 's/[ \t]+$//' Then some minor fix-up to make the two newly-failing tests pass once again: * testsuite/mac-mf.sed: Append this, s/ $//, to eliminate trailing spaces in the actual output. * testsuite/y-newline.good: Manually remove a trailing space between two concatenated prompts.
Diffstat (limited to 'testsuite/manis.sed')
-rw-r--r--testsuite/manis.sed4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/manis.sed b/testsuite/manis.sed
index 5017845..51c9a50 100644
--- a/testsuite/manis.sed
+++ b/testsuite/manis.sed
@@ -1,6 +1,6 @@
# straight out of an autoconf-generated configure.
# The input should look just like the input after this is run.
#
-# Protect against being on the right side of a sed subst in config.status.
-s/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g;
+# Protect against being on the right side of a sed subst in config.status.
+s/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g;
s/@@/%@/; s/@@/@%/; s/@g$/%g/