Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-09-15 16:07:48 +0400
committerGlenn L McGrath <bug1@ihug.co.nz>2003-09-15 16:07:48 +0400
commit977451ef446fc27d7d6e40a9ba01fce5ee0e25b6 (patch)
tree6636a19bb0c4433f719ba54dd5de699bd024468f /testsuite
parent47e5ca1ecb2a86b29c8a52ee3ed276d8b27147cf (diff)
Fix a simple mistake with pattern space, and add a test for it
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/sed/sed-append-hold-space-to-pattern-space13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/sed/sed-append-hold-space-to-pattern-space b/testsuite/sed/sed-append-hold-space-to-pattern-space
new file mode 100644
index 000000000..6dda80fee
--- /dev/null
+++ b/testsuite/sed/sed-append-hold-space-to-pattern-space
@@ -0,0 +1,13 @@
+busybox sed 'G'>output <<EOF
+a
+b
+c
+EOF
+cmp -s output - <<EOF
+a
+
+b
+
+c
+
+EOF