This is my 'pdfbuild' bash script that converts 'tex' files to a PDF. You generate the '.tex' files in any way you want to build them. I used to build the latex files by hand, which was very slow and laborious, but gave extremely good results. Currently I'm building the latex files after exporting from org-mode, and my template is in post org2latex

The changes in this version relate to a very recent change in TexLive that stops you building a PDF file saying that there are problems with the building showing ! Package minted Error: You must invoke LaTeX with the -shell-escape flag. So this script now includes it and allows the PDF file to be generated. And also nested commands so that if you're writing a series then you can easily generate the required PDF's.

Using this script you can work on several latex/tex files and build their PDF's very easily and quickly.

To use this script save it into your 'bin' folder as 'pdfbuild', whether that's local or system-wide, and obviously make it executable. And then just call 'pdfbuild' in a terminal and follow the on-screen prompts to easily build your PDF file.

To adapt this script for your situation change the details in function 'choose' near the end of the script, using my setup as a template.

#!/bin/bash
#set -e

#: Title                : pdfbuild
#: Date               : 7th July 2016
#: Version          : 3.0
#: Description      : To build a PDF file from a pre-generated .tex file
#; Requirements     : texlive

# Copyright (C) 2015, 2016, 2017, 2018, 2019 Sharon Kimble <[email protected]>

# Author: Sharon Kimble <[email protected]>

# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

#############
bldgrn=${txtbld} echo -e "\e[92m"
txtbld=$(tput bold)
bldgrn=${txtbld}$(tput setaf 2)

function endex {
    echo;
    sleep 0;
    #clear;
    exit 0;
}


function one {
    echo
    read -n1 -p ""$bldgrn" Do you want one pass?
                              yes = y
                              no = n
                              quit = q
                              restart = r
 $(tput sgr0)" ynqr
        case "$ynqr" in 
                [Yy]* ) xelatex -shell-escape $filename; choose;;
                [Nn]* ) choose;;
        [Qq]* ) endex;;
        [Rr]* ) exec "$pdfbuild";;
        * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};
function double {
    echo
    read -n1 -p ""$bldgrn" Do you want a double pass?
                              yes = y
                              no = n
                              quit = q
                              restart = r
 $(tput sgr0)" ynqr
        case "$ynqr" in 
                [Yy]* ) xelatex -shell-escape $filename; xelatex -shell-escape $filename; choose;;
                [Nn]* ) choose;;
        [Qq]* ) endex;;
        [Rr]* ) exec "$pdfbuild";;
        * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};
function treble {
    echo
    read -n1 -p ""$bldgrn" Do you want a treble pass?
                              yes = y
                              no = n
                              quit = q
                              restart = r
 $(tput sgr0)" ynqr
        case "$ynqr" in 
                [Yy]* ) xelatex -shell-escape $filename; xelatex -shell-escape $filename; xelatex -shell-escape $filename; choose;;
                [Nn]* ) choose;;
        [Qq]* ) endex;;
        [Rr]* ) exec "$pdfbuild";;
        * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};
function partwrite {
    echo
    read -n1 -p ""$bldgrn" Do you want a part-write pass?
                              yes = y
                              no = n
                              quit = q
                              restart = r
 $(tput sgr0)" ynqr
        case "$ynqr" in 
                [Yy]* ) xelatex -shell-escape $filename; biber $filename; xelatex -shell-escape $filename; choose;;
                [Nn]* ) choose;;
        [Qq]* ) endex;;
        [Rr]* ) exec "$pdfbuild";;
        * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};


function penta {
    echo
    read -n1 -p ""$bldgrn" Do you want a penta pass? [x5]
                              yes = y
                              no = n
                              quit = q
                              restart = r
 $(tput sgr0)" ynqr
        case "$ynqr" in 
                [Yy]* ) xelatex -shell-escape $filename; xelatex -shell-escape $filename; xelatex -shell-escape $filename; xelatex -shell-escape $filename; xelatex -shell-escape $filename; choose;;
                [Nn]* ) choose;;
        [Qq]* ) endex;;
        [Rr]* ) exec "$pdfbuild";;
        * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};

function onebib {
    echo
    read -n1 -p ""$bldgrn" Do you want one pass including the bib file?
                              yes = y
                              no = n
                              quit = q
                              restart = r
 $(tput sgr0)" ynqr
        case "$ynqr" in 
                [Yy]* ) biber $filename; xelatex -shell-escape $filename; choose;;
                [Nn]* ) choose;;
        [Qq]* ) endex;;
        [Rr]* ) exec "$pdfbuild";;
        * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};
function multipass {
    echo
    read -n1 -p ""$bldgrn" Do you want a pass including glossary, bibliography?
                              yes = y
                              no = n
                              quit = q
                              restart = r
 $(tput sgr0)" ynqr
        case "$ynqr" in 
                [Yy]* ) xelatex -shell-escape $filename; biber  $filename; makeindex  $filename; makeglossaries  $filename; xelatex -shell-escape $filename; choose;;
                [Nn]* ) choose;;
        [Qq]* ) endex;;
        [Rr]* ) exec "$pdfbuild";;
        * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};
function extend {
    echo
    read -n1 -p ""$bldgrn" Do you want an extended pass?
                              yes = y
                              no = n
                              quit = q
                              restart = r
 $(tput sgr0)" ynqr
        case "$ynqr" in 
                [Yy]* ) makeglossaries  $filename; biber  $filename; makeindex  $filename; xelatex -shell-escape $filename; biber  $filename; makeindex  $filename; makeglossaries  $filename; xelatex -shell-escape $filename; choose;;
                [Nn]* ) choose;;
        [Qq]* ) endex;;
        [Rr]* ) exec "$pdfbuild";;
        * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};
function bibi {
    echo
    read -n1 -p ""$bldgrn" Do you want a bibliography only?
                              yes = y
                              no = n
                              quit = q
                              restart = r
 $(tput sgr0)" ynqr
        case "$ynqr" in 
                [Yy]* ) biber $filename; choose;;
                [Nn]* ) choose;;
        [Qq]* ) endex;;
        [Rr]* ) exec "$pdfbuild";;
        * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};
function slog {
    echo
    read -n1 -p ""$bldgrn" Do you want a glossary only?
                              yes = y
                              no = n
                              quit = q
                              restart = r
 $(tput sgr0)" ynqr
        case "$ynqr" in 
                [Yy]* ) makeglossaries  $filename; choose;;
                [Nn]* ) choose;;
        [Qq]* ) endex;;
        [Rr]* ) exec "$pdfbuild";;
        * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};

function xedni {
    echo
    read -n1 -p ""$bldgrn" Do you want an index only?
                              yes = y
                              no = n
                              quit = q
                              restart = r
 $(tput sgr0)" ynqr
        case "$ynqr" in 
                [Yy]* ) makeindex $filename; choose;;
                [Nn]* ) choose;;
        [Qq]* ) endex;;
        [Rr]* ) exec "$pdfbuild";;
        * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};

function severe {
    echo
    read -n1 -p ""$bldgrn" Do you want the severe pass-through?
                              yes = y
                              no = n
                              quit = q
                              restart = r
 $(tput sgr0)" ynqr
        case "$ynqr" in 
                    [Yy]* ) xelatex -shell-escape $filename; makeglossaries $filename; biber  $filename; makeindex  $filename; xelatex -shell-escape $filename; xelatex -shell-escape $filename; xelatex -shell-escape $filename; choose;;
                [Nn]* ) choose;;
        [Qq]* ) endex;;
        [Rr]* ) exec "$pdfbuild";;
        * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};

function ultimate {
    echo
    read -n1 -p ""$bldgrn" Do you want the ultimate pass-through?
                              yes = y
                              no = n
                              quit = q
                              restart = r
 $(tput sgr0)" ynqr
        case "$ynqr" in 
                    [Yy]* ) xelatex -shell-escape $filename; biber  $filename; makeindex  $filename; makeglossaries  $filename; biber  $filename; makeindex  $filename; xelatex -shell-escape $filename; biber  $filename; makeindex  $filename; makeglossaries  $filename; xelatex -shell-escape $filename; xelatex -shell-escape $filename; xelatex -shell-escape $filename; xelatex -shell-escape $filename; choose;;
                [Nn]* ) choose;;
        [Qq]* ) endex;;
        [Rr]* ) exec "$pdfbuild";;
        * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};

function ques {
    echo;
    read -n1 -p ""$bldgrn" Please choose which you want,
                   One-pass = a
                   Double-pass = d
                   Treble pass = t
                   Part-write pass = w
                   Penta pass = p
                   One-pass + Bib = o
                   MultiPass = m
                   Extended pass = x
                   Severe pass = s
                   Ultimate pass = u
                   Bibliography only = b
                   Glossary only = g
                   Index only = h
                   Start again = r
                   quit = q
 $(tput sgr0)" abcdefghjkmnpqrswxyz
    case "$abcdefghjkmnpqrswxyz" in
        [Aa]* ) one;;
        [Dd]* ) double;;
        [Tt]* ) treble;;
        [Ww]* ) partwrite;;
        [Pp]* ) penta;;
        [Oo]* ) onebib;;
    [Mm]* ) multipass;;
    [Xx]* ) extend;;
  [Ss]* ) severe;;
    [Uu]* ) ultimate;;
  [Bb]* ) bibi;;
    [Gg]* ) slog;;
    [Hh]* ) xedni;;
  [Rr]* ) choose;;
    [Qq]* ) endex;;
            * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
 };

function foo {
    echo;
    read -n1 -p ""$bldgrn" Please choose which you want,
                      Introduction = a
p1 basics-biscuits-bread-pastries  = b
                          p2 cakes = c
                p3 cheese-egg-nuts = d
                           p4 fish = e
  p5 jams-misc--pickles-preserving = f
                          p6  meat = g
                p7 puddings-sweets = h
                         p8 salads = j
           p9 sauces and dressings = k
                         p10 soups = m
                    p11 vegetables = n
                       start again = r
                              quit = q
 $(tput sgr0)" rdtwpomxubqiq
    case "$rdtwpomxubqiq" in
        [Aa]* ) cd ~/research/wartime-cookery/introduction/; filename="introduction-1"; ques;;
        [Bb]* ) cd ;;
        [Cc]* ) cd ;;
        [Dd]* ) cd ;;
        [Ee]* ) cd ;;
        [Ff]* ) cd ;;
        [Gg]* ) cd ;;
        [Hh]* ) cd ;;
        [Jj]* ) cd ;;
        [Kk]* ) cd ;;
        [Mm]* ) cd ;;
        [Nn]* ) cd ;;
  # [Pp]* ) cd ;;
    # [Xx]* ) extend;;
    # [Uu]* ) ultimate;;
  # [Bb]* ) bibi;;
    # [Gg]* ) slog;;
    [Rr]* ) choose;;
    [Qq]* ) endex;;
            * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};

function cooking {
    echo;
    read -n1 -p ""$bldgrn" Please choose which you want,
        wartime cooking, volume 1 = a
        wartime cooking, volume 2 = b
                personal cookbook = c
first world war cookery, volume 1 = d
        wartime cooking, volume 3 = e
                  cooking-4-one-1 = f
                  cooking-4-one-2 = g
                   cooking-4-2-v1 = h
                   cooking-4-3-V1 = j
                   cookery-school = k
                            ocado = l
                      start again = r
                             quit = q
 $(tput sgr0)" rdtwpojkmxubgiq
    case "$rdtwpojkmxubgiq" in
        [Aa]* ) cd ~/research/soldier/wartime-cookery-1939-1945/wartime-cookery/; filename="war-cooking"; ques;;
        [Bb]* ) cd ;;
        [Cc]* ) cd ;;
        [Dd]* ) cd ;;
        [Ee]* ) cd ;;
        [Ff]* ) cd ;;
        [Gg]* ) cd ;;
        [Hh]* ) cd ;;
        [Jj]* ) cd ;;
          [Kk]* ) cd ;;
        [Ll]* ) cd ;;
    # [Uu]* ) ultimate;; 
  # [Bb]* ) bibi;;
    # [Gg]* ) slog;;
    # [Rr]* ) choose;;
    # [Qq]* ) endex;;
            * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};

function war-cooking {
    echo;
    read -n1 -p ""$bldgrn" Please choose which you want,
                       war cooking = a
                       start again = r
                              quit = q
 $(tput sgr0)" rdtwpomxubqiq
    case "$rdtwpomxubqiq" in
        [Aa]* ) cd ;;
       # [Bb]* ) cd ;;
       # [Cc]* ) cd ;;
       # [Dd]* ) cd ;;
       # [Ee]* ) cd ;;
        # [Ff]* ) cd ;;
        # [Gg]* ) cd ;;
    #[Xx]* ) extend;;
    #[Uu]* ) ultimate;; 
  #[Bb]* ) bibi;;
    #[Gg]* ) slog;;
    [Rr]* ) choose;;
    [Qq]* ) endex;;
            * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};

function health {
    echo;
    read -n1 -p ""$bldgrn" Please choose which you want,
          aging = a
     conditions = b
         cancer = c
          drugs = d
      drugfacts = e
        death 1 = f
       A1-death = g
        death 3 = h
        death 4 = j
          mci-1 = k
          BHA18 = n
 readers-digest = o
inquest_handbook_2018 = m
               start again = r
                   quit = q
 $(tput sgr0)" rdtwpomxubqiq
    case "$rdtwpomxubqiq" in
        [Aa]* ) cd ;;
        [Bb]* ) cd ;;
        [Cc]* ) cd ;;
        [Dd]* ) cd ;;
        [Ee]* ) cd ;;
        [Ff]* ) cd ;;
        [Gg]* ) cd ;;
        [Gg]* ) cd ;;
        [Hh]* ) cd ;;
        [Jj]* ) cd ;;
        [Kk]* ) cd ;;
        [Mm]* ) cd ;;
        [Nn]* ) cd ;;
        [Oo]* ) cd ;;
    [Rr]* ) choose;;
    [Qq]* ) endex;;
            * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};

function trans {
    echo;
    read -n1 -p ""$bldgrn" Please choose which you want,
                        foo = a
                        foo = b
                 tart again = r
                       quit = q
 $(tput sgr0)" rdtwpomxubqiq
    case "$rdtwpomxubqiq" in
        [Aa]* ) cd ;;
        [Bb]* ) cd ;;
        [Cc]* ) cd ;;
        [Dd]* ) cd ;;
        [Ee]* ) cd ;;
        [Ff]* ) cd ;;
    # [Mm]* ) multipass;;
    # [Xx]* ) extend;;
    # [Uu]* ) ultimate;;
  # [Bb]* ) bibi;;
    # [Gg]* ) slog;;
    [Rr]* ) choose;;
    [Qq]* ) endex;;
            * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};

function wartime {
    echo;
    read -n1 -p ""$bldgrn" Please choose which you want,
                    foo = a
            start again = r
                   quit = q
 $(tput sgr0)" rdtwpomxubqiq
    case "$rdtwpomxubqiq" in
        [Aa]* ) cd ;;
        [Bb]* ) cd ;;
        [Cc]* ) cd ;;
        [Dd]* ) cd ;;
  #       [Pp]* ) choose;;
  #       [Oo]* ) choose;;
    # [Mm]* ) multipass;;
    # [Xx]* ) extend;;
    # [Uu]* ) ultimate;;
  # [Bb]* ) bibi;;
    # [Gg]* ) slog;;
    [Rr]* ) choose;;
    [Qq]* ) endex;;
            * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};

function program {
    echo;
    read -n1 -p ""$bldgrn" Please choose which you want,
           emacs-basics = a
                 zenkit = b
            start again = r
                   quit = q
 $(tput sgr0)" rdtwpomxubqiq
    case "$rdtwpomxubqiq" in
        [Aa]* ) cd ;;
        [Bb]* ) cd ;;
 #       [Pp]* ) choose;;
  #       [Oo]* ) choose;;
    # [Mm]* ) multipass;;
    # [Xx]* ) extend;;
    # [Uu]* ) ultimate;;
  # [Bb]* ) bibi;;
    # [Gg]* ) slog;;
    [Rr]* ) choose;;
    [Qq]* ) endex;;
            * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};

function books {
    echo;
    read -n1 -p ""$bldgrn" Please choose which you want,
               roman-1 = a
                writing = b
     writing multiverse = c
    universe of writing = d
               Feng Shu = e
                hadrian = f
             occupation = g
                  death = h
              Dashboard = j
                   mega = k
            start again = r
                   quit = q
 $(tput sgr0)" rdtwpomxubqiq
    case "$rdtwpomxubqiq" in
         [Aa]* ) cd ~/research/books/roman/roman-1; filename="roman-1"; ques;;
         [Bb]* ) skoob; ques;;
         [Cc]* ) 2skoob; ques;;
         [Dd]* ) 3skoob; ques;;
         [Ee]* ) feng-shu; ques;;
         [Ff]* ) cd ~/research/books/roman/hadrian/; filename="hadrian"; ques;;
         [Gg]* ) cd ~/research/books/occupation/occupation-1/; filename="occupation"; ques;;
         [Hh]* ) cd ~/research/books/death/; filename="death"; ques;;
         [Jj]* ) cd ;;
         [Kk]* ) mega; ques;;
    # [Mm]* ) multipass;;
    # [Xx]* ) extend;;
    # [Uu]* ) ultimate;;
  # [Bb]* ) bibi;;
    # [Gg]* ) slog;;
    [Rr]* ) choose;;
    [Qq]* ) endex;;
            * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};

function feng-shu {
    echo;
    read -n1 -p ""$bldgrn" Please choose which you want,
                     computers = a
                   start again = r
                          quit = q
 $(tput sgr0)" rdtwpomxubqiq
    case "$rdtwpomxubqiq" in
         [Aa]* ) cd ~/research/books/Feng_Shu/computer; filename="computers"; ques;;
  #       [Pp]* ) choose;;
  #       [Oo]* ) choose;;
    # [Mm]* ) multipass;;
    # [Xx]* ) extend;;
    # [Uu]* ) ultimate;;
  # [Bb]* ) bibi;;
    # [Gg]* ) slog;;
    [Rr]* ) choose;;
    [Qq]* ) endex;;
            * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};

function mega {
    echo;
    read -n1 -p ""$bldgrn" Please choose which you want,
            start again = r
                   quit = q
 $(tput sgr0)" rdtwpomxubqiq
    case "$rdtwpomxubqiq" in
         # [Cc]* ) 2skoob; ques;;         
         # [Dd]* ) feng-shu; ques;;
         # [Ee]* ) cd ;;
         # [Ff]* ) cd ;;
         # [Gg]* ) cd ;;
         # [Hh]* ) fu; ques;;
         # [Jj]* ) cd ;;
  #       [Oo]* ) choose;;
    # [Mm]* ) multipass;;
    # [Xx]* ) extend;;
    # [Uu]* ) ultimate;;
  # [Bb]* ) bibi;;
    # [Gg]* ) slog;;
    [Rr]* ) choose;;
    [Qq]* ) endex;;
            * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};

function skoob {
    echo;
    read -n1 -p ""$bldgrn" Please choose which you want,
                   start again = r
                          quit = q
 $(tput sgr0)" rdtwpomxubqiq
    case "$rdtwpomxubqiq" in
    # [Xx]* ) extend;;
    # [Uu]* ) ultimate;;
  # [Bb]* ) bibi;;
    # [Gg]* ) slog;;
    [Rr]* ) choose;;
    [Qq]* ) endex;;
            * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};

function 2skoob {
    echo;
    read -n1 -p ""$bldgrn" Please choose which you want,
                    start again = r
                          quit = q
 $(tput sgr0)" rdtwpomxubqiq01234567
    case "$rdtwpomxubqiq01234567" in
   # [Xx]* ) extend;;
    # [Uu]* ) ultimate;;
  # [Bb]* ) bibi;;
    # [Gg]* ) slog;;
    [Rr]* ) choose;;
    [Qq]* ) endex;;
            * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};

function 3skoob {
    echo;
    read -n1 -p ""$bldgrn" Please choose which you want,
                start again = r
                    quit = q
 $(tput sgr0)" rdtwpomxubqiq01234567
    case "$rdtwpomxubqiq01234567" in
  # [Xx]* ) extend;;
    # [Uu]* ) ultimate;;
  # [Bb]* ) bibi;;
    # [Gg]* ) slog;;
    [Rr]* ) choose;;
    [Qq]* ) endex;;
            * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};

function misc {
    echo;
    read -n1 -p ""$bldgrn" Please choose which you want,
              start again = r
                    quit = q
 $(tput sgr0)" rbdtwpomxubqiq
    case "$rbdtwpomxubqiq" in
     #       [Pp]* ) choose;;
  #       [Oo]* ) choose;;
    # [Mm]* ) multipass;;
    # [Xx]* ) extend;;
    # [Uu]* ) ultimate;;
  # [Bb]* ) bibi;;
    # [Gg]* ) slog;;
    [Rr]* ) choose;;
    [Qq]* ) endex;;
            * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
};

function choose {
    echo;
    read -n1 -p ""$bldgrn" Please choose which you want,

      wartime-cooking 39-45 = a
         health multi-verse = b
          ideal multi-verse = c
        cooking multi-verse = d
         writing-multiverse = e
        universe of writing = f
                    wartime = g
                   programs = h
                        foo = j
              miscellaneous = k
                      books = l
                 cheatsheet = m
                        foo = n
                        foo = o
                    sandbox = x
                  sandyford = y
            reload pdfbuild = z
                start again = r
                       quit = q
 $(tput sgr0)" abcdefghijkmnprstuvw012345678xyzq
    case "$abcdefghijkmnprstuvw012345678xyzq" in
        [Aa]* ) wartime-cooking;;
        [Bb]* ) health;;
        [Cc]* ) ideal;;
        [Dd]* ) cooking;;
        [Ee]* ) 2skoob; ques;;
        [Ff]* ) 3skoob; ques;;
        [Gg]* ) wartime;;
        [Hh]* ) program;;
        [Jj]* ) foo;;
        [Kk]* ) misc;;
        [Ll]* ) books; ques;;
       # [Jj]* ) cooking;;
        # [Kk]* ) ;;
        # [Ll]* ) ;;
        # [Mm]* ) ;;
       # [Nn]* ) ;;
       # [Mm]* ) ;;
        # [Ss]* ) ;;
        # [Tt]* ) ;;
        # [Uu]* ) ;;
        # [Vv]* ) ;;
        # [Ww]* ) ;;
        # [0]* ) ;;
        # [1]* ) ;;
        # [2]* ) ;;
        # [3]* ) ;;
        # [4]* ) ;;
        # [5]* ) ;;
        # [6]* ) ;;
        # [7]* ) ;;
        # [8]* ) ;;
       # [Nn]* ) ;;
       # [Oo]* ) ;;
        [Xx]* ) cd ~/research/sandbox/death/; filename="sandbox"; ques;;
        [Yy]* ) cd ~/research/sandbox/sandyford/; filename="sandyford"; ques;;
        [Zz]* ) ~/bin/pdfbuild;;
        [Rr]* ) choose;;
        [Qq]* ) endex;;
            * ) echo ""$bldgrn" Please answer yes or no. $(tput sgr0)";;
    esac
 };

eval choose


Comments

comments powered by Disqus