rm -f nlopt.hpp
(n=`grep -n GEN_ENUMS_HERE /home/u2/prudhomm/Devel/FEEL/feelpp.git/contrib/nlopt/api/nlopt-in.hpp | cut -d: -f1`; head -n $n /home/u2/prudhomm/Devel/FEEL/feelpp.git/contrib/nlopt/api/nlopt-in.hpp;  echo "  enum algorithm {"; egrep 'NLOPT_[LG][DN]|NLOPT_AUGLAG|NLOPT_G_MLSL|NLOPT_NUM_ALGORITHMS' /home/u2/prudhomm/Devel/FEEL/feelpp.git/contrib/nlopt/api/nlopt.h | sed 's/NLOPT_//g'; echo "  };"; echo "  enum result {"; egrep 'NLOPT_[A-Z_]* =' /home/u2/prudhomm/Devel/FEEL/feelpp.git/contrib/nlopt/api/nlopt.h | egrep -v 'NLOPT_[LG][DN]' | sed 's/NLOPT_//g'; echo "  };"; tail -n +$n /home/u2/prudhomm/Devel/FEEL/feelpp.git/contrib/nlopt/api/nlopt-in.hpp) > /home/u2/prudhomm/Devel/FEEL/feelpp.git/contrib/nlopt/api/nlopt.hpp
