Cover V05, I10
Article
Listing 1
Listing 10
Listing 2
Listing 3
Listing 4
Listing 5
Listing 6
Listing 7
Listing 8
Listing 9

oct96.tar


Listing 5: notafile.sh

#######################################################
# notafile.sh
#######################################################
# This script is called by pseudo.sh. This script is an
# example of tracking changes to something that is not
# file-based (for example 'joe' passwds, or the output
# from NIS) as well as tracking variable file changes
# (for example the output from ls).
#
# In short, if you make this script send a copy of
# whatever it is you want to track to stdout, it can
# then be tracked.

# track meetings notes and agenda
cd /usr/system/repository/meetings
ls agenda/* notes/*

# track library changes
cd /product/tools/lib/source
ls *.[ch] Makefile

# Who is a joe?
/u/stevei/bin/joe

# NIS
# run ypcat here, etc.