title: Bash script, case statement and sub-menus
body: <p>I wish to run a script with a case statement leading to choices between other lists of choices (sort of sub-menus) between scripts :</p>
  
  <pre><code>#!/bin/bash
  
  echo "Your choice ?"
  echo "1) Foo"
  echo "2) Bar"
  echo "3) Stuff"
  read case;
  
  case $case in
  
  #and this is where I would like to allow 
  #(here a simplified example I do not manage to code)
  
  1) What script ?    # may I use another case statement ?
      a) Foo1;;
      b) Foo2;;
  2) What script ?    # d°
      a) Bar1;;
      b) Bar2;;
      c) Bar3;;
  
  esac
  </code></pre>
  
  <p>Foo1, Foo2, Bar1, Bar2 and Bar3 being in fact bash scripts, I would like to call, eg, sh Foo1 from within the script.</p>
  
  <p>How must I proceed :
  May I include a case statement within a case statement (better than if statement, if the choices are numerous) ?
  And how do I call a script from within another script ?</p>
  
  <p>Thanks in advance for your help</p>
  
  <p>ThG</p>