looking for a unix command for hpux - watch

watch is a common linux command that executes a program periodically, showing output fullscreen.

I couldn't find anything for hpux, so I created the following shell which the user is testing:

cat /usr/bin/watch
#!/bin/sh

while [ 1 ] ; do
   clear
   echo "Command: $*"
   date
   echo ""
   ( $* )
   sleep 10
done

is anyone aware of where I could find "watch" or anything equivalent for hpux?

thanks and hh,
manny

The very useful ste:
Rosetta Stone for Unix
suggests that precompiled binaries for HP-UX can be obtained from:
HP/UX Software Archive
or
Porting And Archive Centre For HP-UX

users continue to be pleased w/script :slight_smile:

TonyFullerMalv,
thanks for the links, Rosetta is a new one for me...

DukeNuke2,
sorry for the code tags....or lack of.