Cover V02, I03
Article
Figure 1
Figure 2
Figure 3
Listing 1
Listing 2

may93.tar


Figure 2: Sample where file has changed

1) fchange counts 2 lines in the log file

----r----- 1 bin mem 604136 Jul 21 1992 /unix ----rw---- 1 bin mem 605100 Aug 28 1992 /unix

2) a new line is added via ls.

----r----- 1 bin mem 604136 Jul 21 1992 /unix ----rw---- 1 bin mem 605100 Aug 28 1992 /unix ----rw---- 1 bin mem 535180 Aug 29 1992 /unix

3) the lines are sorted uniquely. Note that this has no effect because the lines are already unique. In the previous example the duplicate line was removed.

----r----- 1 bin mem 604136 Jul 21 1992 /unix ----rw---- 1 bin mem 605100 Aug 28 1992 /unix ----rw---- 1 bin mem 535180 Aug 29 1992 /unix

4) fchange counts again and determines that a line was added.

5) The file has changed. You have mail!