head	1.1;
access;
symbols
	RELENG_9_1_0_RELEASE:1.1
	RELENG_9_1:1.1.0.6
	RELENG_9_1_BP:1.1
	RELENG_9_0_0_RELEASE:1.1
	RELENG_9_0:1.1.0.4
	RELENG_9_0_BP:1.1
	RELENG_9:1.1.0.2
	RELENG_9_BP:1.1
	RELENG_8_BP:1.1;
locks; strict;
comment	@# @;


1.1
date	2011.04.17.17.28.17;	author nwhitehorn;	state Exp;
branches;
next	;


desc
@@


1.1
log
@SVN rev 220749 on 2011-04-17 17:28:17Z by nwhitehorn

Update dialog to version 1.1-20110302.
@
text
@#!/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
@
