#!/bin/bash
# combine multiple android resource xml's to one
cat $1 | sed 's/<\/resources.*//'
shift
if [ "$*" != "" ]; then
cat $* | sed 's/<\/resources.*//;s/<?xml.*//;s/<resources.*//'
fi
echo '</resources>'