Weeks 12 -  15

Numbers, conditionals, more loops

Final exam -- 

(based on http://www.sru.edu/academics/academic-services/academic-records/class-and-final-exam-schedules )

Wednesday , May 9th, 10:30 am - 12:30 pm

Other dates worth noting:

Assignment #5 due date: Wednesday, April 11th

Second exam:  Friday, April 13th

Assignment #6, due date:  Wednesday, April 25th. Monday April 30th (Note:  A new Part E, covering new topics has been added)

Assignment 6 will be the last homework assignment.

What we'll be doing these last weeks:

finishing up with awk:  records in awk, passing parameters, more on parametersa bit of awk arithmetic;

here's something new on brace expansion (including some remarks on tee and eval)

NOTE (Wednesday Dec. 6):  based on question in today's class about searching for regular expression passed from command line see updated examples in passing parameters.

fortune

this

exercises:

revisiting command line parameters and running commands in a file.

looking a bit more into looping as well as arithmetic and logic in shell scripts (also here)

and mastering a bit more: random numbers in UNIX shell  and something about random numbers

see also: these notes involving seq and shuf

and, maybe, if you're really lucky, another case study -- leading to something like this .

Speaking of such and such: -- unity -> unify

Words in many places: sample a few from one to sixteen different dictionaries (about a million different "words" in total)

More material on echo (including printf, hexdump, etc.) useful for processing multilingual information. If (and only if) you're truly interested, take a look here, as well.

Also, perl has a built-in sort function. I don't think awk does:
$ head $w|perl -F'' -alne 'print ($_," ",@{[sort @F]})'
a a
aardvark aaadkrrv
aback aabck
abacus aabcsu
abaft aabft
abalienate aaabeeilnt
abalienation aaabeiilnnot
abandon aabdnno
abandoned aabddenno
abandonment aabdemnnnot
\