Current Path : /compat/linux/proc/self/root/usr/src/contrib/dialog/samples/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/src/contrib/dialog/samples/shortlist |
#!/bin/sh # $Id: shortlist,v 1.2 2011/03/02 00:11:50 tom Exp $ # make a short listing, which writes to both stdout and stderr. if test $# != 0 then count=$1 else count=10 fi while test $count != 0 do echo "** $count -- `date`" w >&2 sleep 1 count=`expr $count - 1 2>/dev/null` test -z "$count" && count=0 done