On Fri, Jun 15, 2001 at 11:05:38PM -0700, Donn Miller wrote:
> --- Chris BeHanna <[EMAIL PROTECTED]> wrote:
> > Here's a little script to work through them all.  With a modicum of
> > effort, it could be made to just print the hopcounts, but I wasn't
> > that enthusiastic the night I wrote it.
> 
> Actually, it should go from 1->16.  A more compact way to do it would
> be:

Try piping it to tail, that compresses the output nicely:

#!/bin/sh
i=1
while [ $i -le 16 ] ; do
    traceroute cvsup$i.freebsd.org|tail -n 1
    i=`expr $i + 1`
done

This gives you a nice two-line summary of each traceroute, at least it did
on my 4.3-STABLE server.

-zack


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to