Cover V02, I01
Article
Figure 1
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 2
Figure 3a
Figure 3b
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Listing 1

jan93.tar


Listing 1: uuq program

:
#
# @(#) uuqstat v1.1 - Simple UUCP Queue Status Report
# Author : Frank Bicknell
# Modified by : Chris Hare
# Wizard's Grabbag, UNIX WORLD, March 1990
#
echo
#
# The sed(C) command will remove every second line and any lines which
# contain the word POLL as in (POLL)
#
uustat -a | sed -n '/^[^ ]/p' | sed '/POLL/d' |
awk 'BEGIN {
print "Remote                            Local     Job"
print "System    Direction  Date - Time  User      ID "
print "--------  ---------  -----------  --------  ------------"
}
{
if ( $3 == "S" )
direction = "Sending  "
else
direction = "Receiving"
printf "%-8s  %8s  %11s  %-8s  %12s\n", $4, direction, $2, $5, $1
}'
echo