2
0

gtester-cat 476 B

1234567891011121314151617181920212223242526
  1. #!/bin/sh
  2. #
  3. # Copyright IBM, Corp. 2012
  4. #
  5. # Authors:
  6. # Anthony Liguori <aliguori@us.ibm.com>
  7. #
  8. # This work is licensed under the terms of the GNU GPLv2 or later.
  9. # See the COPYING file in the top-level directory.
  10. cat <<EOF
  11. <?xml version="1.0"?>
  12. <gtester>
  13. <info>
  14. <package>qemu</package>
  15. <version>0.0</version>
  16. <revision>rev</revision>
  17. </info>
  18. EOF
  19. sed \
  20. -e '/<?xml/d' \
  21. -e '/^<gtester>$/d' \
  22. -e '/<info>/,/<\/info>/d' \
  23. -e '$b' \
  24. -e '/^<\/gtester>$/d' "$@"