summaryrefslogtreecommitdiffhomepage
path: root/testsuite/paste/paste-back-cuted-lines
blob: a8171bf1e4c28d3da8b1a12875a68ef91f9e233a (plain)
1
2
3
4
5
6
7
8
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