code: private String readProgram( String script) {
          String program = null;
          
          if ( script != null) {
              Pattern pattern = Pattern.compile( "^#!(/.*)");
              Matcher matcher = pattern.matcher( script);
              if ( matcher.find()) {
                  program = matcher.group( 1);
              }            
          }
                  
          return program;
      }
docs: Returns the program use to run the specified script (guessed by parsing
  the shebang at the beginning of the script)
  
  @param script