diff options
Diffstat (limited to 'testsuite/paste/paste-back-cuted-lines')
-rw-r--r-- | testsuite/paste/paste-back-cuted-lines | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/paste/paste-back-cuted-lines b/testsuite/paste/paste-back-cuted-lines new file mode 100644 index 0000000..a8171bf --- /dev/null +++ b/testsuite/paste/paste-back-cuted-lines @@ -0,0 +1,9 @@ +cat > foo <<EOF +this is the first line +this is the second line +this is the third line +EOF +cut -b 1-13 -n foo > foo1 +cut -b 14- -n foo > foo2 +busybox paste -d '\0' foo1 foo2 > bar +cmp foo bar |