Last login: Thu Dec  6 08:14:37 on ttys014
Math-Tuttle-OSX:~ smtuttle$ cd humboldt/
Math-Tuttle-OSX:humboldt smtuttle$ cd f12cs279
Math-Tuttle-OSX:f12cs279 smtuttle$ cd 279lectures/
Math-Tuttle-OSX:279lectures smtuttle$ cd 279lect15-2
Math-Tuttle-OSX:279lect15-2 smtuttle$ emacs clicker1.sh

[1]+  Stopped                 emacs clicker1.sh

Math-Tuttle-OSX:279lect15-2 smtuttle$ clicker1.sh
ONE
./clicker1.sh: line 12: syntax error near unexpected token `echo'
./clicker1.sh: line 12: `echo TWO'

Math-Tuttle-OSX:279lect15-2 smtuttle$ fg
emacs clicker1.sh

[1]+  Stopped                 emacs clicker1.sh

Math-Tuttle-OSX:279lect15-2 smtuttle$ clicker1.sh
ONE
TWO
***the calendar for month 0 from year 0***
   December 2012
Su Mo Tu We Th Fr Sa
                   1
 2  3  4  5  6  7  8
 9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
THREE
./clicker1.sh: line 16: syntax error near unexpected token `3,'
./clicker1.sh: line 16: `clicker1(3, 2012)'

Math-Tuttle-OSX:279lect15-2 smtuttle$ fg
emacs clicker1.sh

[1]+  Stopped                 emacs clicker1.sh

Math-Tuttle-OSX:279lect15-2 smtuttle$ clicker1.sh
ONE
TWO
***the calendar for month 0 from year 0***
   December 2012
Su Mo Tu We Th Fr Sa
                   1
 2  3  4  5  6  7  8
 9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
THREE
FOUR
***the calendar for month 3 from year 2012***
     March 2012
Su Mo Tu We Th Fr Sa
             1  2  3
 4  5  6  7  8  9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Math-Tuttle-OSX:279lect15-2 smtuttle$ fg
emacs clicker1.sh

[1]+  Stopped                 emacs clicker1.sh

Math-Tuttle-OSX:279lect15-2 smtuttle$ clicker1.sh
look here:  testy
ONE
TWO
***the calendar for month 0 from year 0***
   December 2012
Su Mo Tu We Th Fr Sa
                   1
 2  3  4  5  6  7  8
 9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
THREE
FOUR
***the calendar for month 3 from year 2012***
     March 2012
Su Mo Tu We Th Fr Sa
             1  2  3
 4  5  6  7  8  9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Math-Tuttle-OSX:279lect15-2 smtuttle$ fg
emacs clicker1.sh

[1]+  Stopped                 emacs clicker1.sh

Math-Tuttle-OSX:279lect15-2 smtuttle$ clicker1.sh
look here:    moo
ONE
TWO
***the calendar for month 0 from year 0***
   December 2012
Su Mo Tu We Th Fr Sa
                   1
 2  3  4  5  6  7  8
 9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
THREE
FOUR
***the calendar for month 3 from year 2012***
     March 2012
Su Mo Tu We Th Fr Sa
             1  2  3
 4  5  6  7  8  9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Math-Tuttle-OSX:279lect15-2 smtuttle$ grep case *
clicker3.sh:case $1 in
clicker3.sh:#    case 2: ci stuff2.sh
clicker3.sh~:case $1 in
clicker3.sh~:    case 2: ci stuff2.sh

Math-Tuttle-OSX:279lect15-2 smtuttle$ emacs clicker3.sh

[2]+  Stopped                 emacs clicker3.sh

Math-Tuttle-OSX:279lect15-2 smtuttle$ clicker3.sh 1
./clicker3.sh: line 4: syntax error near unexpected token `ci'
./clicker3.sh: line 4: `    1: ci stuff1.sh'

Math-Tuttle-OSX:279lect15-2 smtuttle$ fg
emacs clicker3.sh

[2]+  Stopped                 emacs clicker3.sh

Math-Tuttle-OSX:279lect15-2 smtuttle$ fg
emacs clicker3.sh

[2]+  Stopped                 emacs clicker3.sh

Math-Tuttle-OSX:279lect15-2 smtuttle$ clicker3.sh 2
./clicker3.sh: line 5: syntax error near unexpected token `2:'
./clicker3.sh: line 5: `    case 2: ci stuff2.sh'

Math-Tuttle-OSX:279lect15-2 smtuttle$ fg
emacs clicker3.sh

[2]+  Stopped                 emacs clicker3.sh

Math-Tuttle-OSX:279lect15-2 smtuttle$ clicker3.sh 3
./clicker3.sh: line 6: syntax error near unexpected token `ci'
./clicker3.sh: line 6: `    3] ci stuff3.sh ;'

Math-Tuttle-OSX:279lect15-2 smtuttle$ fg
emacs clicker3.sh

[2]+  Stopped                 emacs clicker3.sh

Math-Tuttle-OSX:279lect15-2 smtuttle$ clicker3.sh 4
stuff4.sh,v  <--  stuff4.sh
ci: stuff4.sh: No such file or directory

Math-Tuttle-OSX:279lect15-2 smtuttle$ fg
emacs clicker3.sh

[2]+  Stopped                 emacs clicker3.sh

Math-Tuttle-OSX:279lect15-2 smtuttle$ clicker3.sh 4
stuff4.sh,v  <--  stuff4.sh
ci: stuff4.sh: No such file or directory

Math-Tuttle-OSX:279lect15-2 smtuttle$ clicker3.sh 5
HERE

Math-Tuttle-OSX:279lect15-2 smtuttle$ clicker3.sh 6
HERE

Math-Tuttle-OSX:279lect15-2 smtuttle$ fg
emacs clicker3.sh

[2]+  Stopped                 emacs clicker3.sh

Math-Tuttle-OSX:279lect15-2 smtuttle$ clicker3.sh 5
HERE
   December 2012
Su Mo Tu We Th Fr Sa
                   1
 2  3  4  5  6  7  8
 9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31

Math-Tuttle-OSX:279lect15-2 smtuttle$ clicker3.sh 6
HERE
   December 2012
Su Mo Tu We Th Fr Sa
                   1
 2  3  4  5  6  7  8
 9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31

Math-Tuttle-OSX:279lect15-2 smtuttle$