Note that all assignments are due promptly at the start of class in order to receive full credit. Late assignments will be penalized.
| Due date | Assignment |
| 20 January |
|
| 27 January |
|
| 3 February |
|
| 10 February |
Read chapters 5 and 6 of the textbook, working through all the examples. |
| 24 February |
|
| 3 March |
|
| 10 March |
|
| 17 March |
|
| 24 March |
|
| 31 March |
|
| 7 April |
|
| 14 April |
|
| 21 April |
|
| 28 April |
This week's reading assignments are all on-line, as noted below. |
| 5 May |
|
~/hw1-1, which performs the following functions:
who command (plus any others necessary), show
your (but nobody else's) active login session(s) . /export/home/Tom/hw to the end of your PATH.Demonstrate correct functioning of the script by issuing the following commands; then copy your telnet session output and paste it into Notepad or Word for printing and submission.
~/hw1-1echo $PATHlast command shows the history of every login session for
every user. Write a script called ~/hw1-2, which performs
the following functions:
Run the script; then copy your telnet session output and paste it into Notepad or Word for printing and submission.
Examine the file ~Tom/hw/hreport-data to determine its
layout. Write a script called ~/hreport, which performs the following functions:
If you find it necessary to create any temporary files, they should be
created in the /tmp directory, and should be deleted at the end of the
script.
The script should include appropriate comments as documentation.
You should submit a listing of your session, including the following
commands:
$ cat hreport
$ ./hreport
$ ./hreport ~Tom/bad-file
$ ./hreport ~Tom/hw/hreport-data name
$ ./hreport ~Tom/hw/hreport-data phone
kwic.Running the script against the the first two lines of this project description would result in output similar to the following:
a: 1: Write a script to create a "keyword in context" list. Details:
call: 2: Call the script kwic.
context: 1: Write a script to create a "keyword in context" list. Details:
create: 1: Write a script to create a "keyword in context" list. Details:
details: 1: Write a script to create a "keyword in context" list. Details:
in: 1: Write a script to create a "keyword in context" list. Details:
keyword: 1: Write a script to create a "keyword in context" list. Details:
kwic: 2: Call the script kwic.
list: 1: Write a script to create a "keyword in context" list. Details:
script: 1: Write a script to create a "keyword in context" list. Details:
script: 2: Call the script kwic.
the: 2: Call the script kwic.
to: 1: Write a script to create a "keyword in context" list. Details:
write: 1: Write a script to create a "keyword in context" list. Details:
Last updated 26 Apr 2003