#!/bin/bash rm -fr nowide nowide_standalone nowide_standalone.zip boost_nowide boost_nowide.zip mkdir -p nowide/nowide mkdir -p nowide/src mkdir -p nowide/test cp ../boost/nowide/*.hpp nowide/nowide cp ../libs/nowide/src/*.cpp nowide/src cp ../libs/nowide/test/*.cpp ../libs/nowide/test/*.hpp nowide/test cp ./*.hpp nowide/nowide/ SOURCES="nowide/test/* nowide/src/* nowide/nowide/*" sed 's/BOOST_NOWIDE_/NOWIDE_/g' -i $SOURCES sed 's/BOOST_/NOWIDE_/g' -i $SOURCES sed 's/boost::nowide::/nowide::/g' -i $SOURCES sed 's/boost::nowide/nowide/g' -i $SOURCES sed 's/boost::locale::/nowide::/g' -i $SOURCES sed 's/boost::/nowide::/g' -i $SOURCES sed 's/namespace boost {//' -i $SOURCES sed 's/} *\/\/ *namespace boost//' -i $SOURCES sed 's/