#!/bin/bash

############################################################################
#
# Copyright (c) 2014 - A.S._id
#
############################################################################
MENU=tools/scripts/menu_cut_n_cat

  echo -en "\E[32;1m"
  echo -e "============================================================"
  echo -e " Cut & cat menu"
  echo -e "============================================================"
  echo -e 
  echo -e "  1 - Cut img vendor extra header"
  echo -e "  2 - Cut end of files"
  echo -e "  3 - Cat img vendor extra header"
  echo -e "  4 - RETURN MAIN MENU"

  tput sgr0
  echo -e -n "\033[1m Enter option: \033[0m"
  read opt
  case $opt in

      1) tools/scripts/com_cut_iveh; clear; $MENU;;
      2) tools/scripts/com_cut_end; clear; $MENU;;
      3) tools/scripts/com_cat_iveh; clear; $MENU;;
      4) clear; ./main_menu;;

  esac

