4
0

append.sh 199 B

12345678910111213141516171819
  1. #! /bin/sh
  2. # Append was just not working.
  3. . ./preset
  4. . $srcdir/before
  5. set -e
  6. touch file1
  7. touch file2
  8. tar cf archive file1
  9. tar rf archive file2
  10. tar tf archive
  11. out="\
  12. file1
  13. file2
  14. "
  15. . $srcdir/after