Why do I think you're going to do this in terms of ksh93? :-)
Maybe since it's sleep builtin can do that?
So, will it be
#! /usr/bin/ksh93
# do we need to set PATH to ensure the builtin is used?
exec "$(basename "${0}")" "$...@}"
Or will it be a C wrapper to call b_sleep() in libcmd?
(which if done right could also call any of the builtins,
given a suitable hard or symbolic link; and might have
faster startup than ksh93 itself)
> This is a sponsor request to implement the RFE/CR
> #6451262 ("RFE:
> /usr/bin/sleep should support floating-point values"
> -
> http://bugs.opensolaris.org/view_bug.do?bug_id=6451262
> ).
> An old draft for the matching ARC case can be found
> at
> http://svn.genunix.org/repos/on/branches/ksh93/gisburn
> /arc/sleep/solaris_sleep_fasttrack.txt
> (comments welcome) ...
>
> My contributor ID is "OS0025".
>
> ----
>
> Bye,
> Roland
>
> --
> __ . . __
> o.\ \/ /.o) roland.mainz at nrubsig.org
> \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix
> programmer
> /O /==\ O\ TEL +49 641 7950090
> (;O/ \/ \O;)
> _______________________________________________
> request-sponsor mailing list
> request-sponsor at opensolaris.org
This message posted from opensolaris.org