diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-09-15 12:07:48 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-09-15 12:07:48 +0000 |
commit | 181bdaae4881009126ff34892ceb1fba0575b3d4 (patch) | |
tree | 6636a19bb0c4433f719ba54dd5de699bd024468f /testsuite/sed | |
parent | 99340a6d66aea165e8ee42ac72fc21c8185d1ad0 (diff) | |
download | busybox-w32-181bdaae4881009126ff34892ceb1fba0575b3d4.tar.gz busybox-w32-181bdaae4881009126ff34892ceb1fba0575b3d4.tar.bz2 busybox-w32-181bdaae4881009126ff34892ceb1fba0575b3d4.zip |
Fix a simple mistake with pattern space, and add a test for it
git-svn-id: svn://busybox.net/trunk/busybox@7529 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'testsuite/sed')
-rw-r--r-- | testsuite/sed/sed-append-hold-space-to-pattern-space | 13 |
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 @@ | |||
1 | busybox sed 'G'>output <<EOF | ||
2 | a | ||
3 | b | ||
4 | c | ||
5 | EOF | ||
6 | cmp -s output - <<EOF | ||
7 | a | ||
8 | |||
9 | b | ||
10 | |||
11 | c | ||
12 | |||
13 | EOF | ||