sleepenh - Sleep until a given date with subsecond resolution

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe i386
Package name: sleepenh
Package version: 1.4
Package release: 2
Package architecture: i386
Package type: deb
Installed size: 50 B
Download size: 7.65 KB
Official Mirror:
sleepenh is an sleep program for using in shell scripts that need to perform a loop that repeats at a regular time interval, without cumulative errors. It supports microsecond resolution. You can also specify the time you need between two calls of sleepenh. Here follows an usage example to clarify its purpose. This example sends 'A' to ttyS0 every 1.2 seconds. #!/bin/sh # does not wait (or wait 0), just to get initial timestamp TIMESTAMP=`sleepenh 0` while true; do # send the byte to ttyS0 echo -n "A" > /dev/ttyS0; # wait until the required time TIMESTAMP=`sleepenh $TIMESTAMP 1.200`; done For more details, please read the manpage.




    Binary package: sleepenh_1.4-2_i386.deb
    Source package: sleepenh

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install sleepenh deb package:
      # sudo apt-get install sleepenh


    • /usr/bin/sleepenh
    • /usr/share/doc/sleepenh/changelog.Debian.gz
    • /usr/share/doc/sleepenh/copyright
    • /usr/share/man/man1/sleepenh.1.gz


    2015-06-26 - Nicolas Schier <> sleepenh (1.4-2) unstable; urgency=medium * Update vcs and homepage URLs (moved to github) (Closes: #789375)

    2014-12-01 - Nicolas Schier <> sleepenh (1.4-1) unstable; urgency=medium * New upstream release: + Makefile: update and allow compile flag changes via command line. + Command line options for help and version. + Add time warp option. * Purge obsolete patch makefile--use-debian-compiler-flags. * Add debian/watch file. * Update copyright file. * Remove obsolete buildflags lines from debian/rules. * Add upstream homepage links to debian/{control,copyright}.

    2014-10-28 - Nicolas Schier <> sleepenh (1.3-2) unstable; urgency=low * Purge obsolete Debian files * Use default debian/rules * Add missing package dependency ${misc:Depends} * Set source format to '3.0 (quilt)' * patch: use Debian compiler flags * Update copyright file * Update Standards-Version to 3.9.6 (no changes required) * New maintainer (Closes: #759732) * Bump debhelper compat level to 9 * Add Vcs-Browser and Vcs-Git URLs

    2008-04-20 - Pedro Zorzenon Neto <> sleepenh (1.3-1) unstable; urgency=low * New upstream release, nothing important has changed, only FSF address in copyright, a gcc warnings have been removed and manpage warnings were removed.

    2008-04-20 - Pedro Zorzenon Neto <> sleepenh (1.2-3) unstable; urgency=low * fixed typos in manpage, thanks to A. Costa. closes: #422939 * decided not to add a symlink to usleep, as asked in bug 223455. The gnu 'sleep' command (provided by package coreutils) accepts floating numbers as arguments and can be used for doing it. closes: #223455 * updated debian/rules, dh_compat, FSF address in copyright and other small things.

    2006-07-18 - Amaya Rodrigo Sastre <> sleepenh (1.2-2.1) unstable; urgency=low * Non-maintainer upload. * Get rid of the /usr/doc link in postinst (Closes: #359595).

    2003-03-10 - Pedro Zorzenon Neto <> sleepenh (1.2-2) unstable; urgency=low * Changing package short and long description. See bug #182331 for more details. Thanks to Ludovic Rousseau.

    2003-03-06 - Pedro Zorzenon Neto <> sleepenh (1.2-1) unstable; urgency=low * Initial Release. * First upload, closing ITP (Closes: #182331)