Delay-Pipe?

Jan-Benedict Glaw jbglaw at lug-owl.de
Mon Jun 24 00:20:02 CEST 2002


On Sun, 2002-06-23 23:05:21 +0200, Cord Beermann <cord at lug-owl.de>
wrote in message <20020623210521.GA17380 at Wunder-Nett.org>:
> Hallo.
> 
> kennt jemand ein Tool was in etwa das macht:
> 
> echo foo |delay 5 
> 
> das foo soll nach 5 Sekunden ausgegeben werden. 
> 
> bevor jetzt jemand mit sleep anfaengt, das Ziel ist, das ich viele
> Zeilen in zufaelligen Abstaenden in die Pipe werfe, und ich moechte
> das jede Zeile um 5/10/20/120 Sekunden Verzoegert hinten wieder
> rausfaellt.

Sowas hatten wir schonmal. Such im Archiv mal nach "Besen essen".
Ansonsten mein Vorschlag:

( while sleep 1; do echo hallo; done ; ) | auswertprogramm

MfG, JBG

-- 
Jan-Benedict Glaw   .   jbglaw at lug-owl.de   .   +49-172-7608481
	 -- New APT-Proxy written in shell script --
	   http://lug-owl.de/~jbglaw/software/ap2/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20020624/aac6c167/attachment.sig>


More information about the Linux mailing list