summaryrefslogtreecommitdiff
path: root/testsuite/paste/paste-pairs
diff options
context:
space:
mode:
authorMaxime Coste2017-03-23 17:35:20 +0100
committerDenys Vlasenko2017-03-23 17:35:52 +0100
commitd2383f57cd1ede7c43c69953e101b89d920353f6 (patch)
treed4bea931c08cd6c428c1db006977766bc0f17e99 /testsuite/paste/paste-pairs
parentdba0dc1999bb1e8bfe64607e2a9385cda361fcb7 (diff)
downloadbusybox-d2383f57cd1ede7c43c69953e101b89d920353f6.zip
busybox-d2383f57cd1ede7c43c69953e101b89d920353f6.tar.gz
paste: new applet
function old new delta paste_main - 493 +493 packed_usage 31019 31070 +51 applet_names 2569 2575 +6 applet_main 1484 1488 +4 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 3/0 up/down: 554/0) Total: 554 bytes Signed-off-by: Maxime Coste <mawww@kakoune.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/paste/paste-pairs')
-rw-r--r--testsuite/paste/paste-pairs16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/paste/paste-pairs b/testsuite/paste/paste-pairs
new file mode 100644
index 0000000..90725fa
--- /dev/null
+++ b/testsuite/paste/paste-pairs
@@ -0,0 +1,16 @@
+cat > foo <<EOF
+foo1
+bar1
+foo2
+bar2
+foo3
+EOF
+
+cat > bar <<EOF
+foo1 bar1
+foo2 bar2
+foo3
+EOF
+
+busybox paste -s -d "\t\n" foo > baz
+cmp bar baz