>Erm... I doubt it's "just 10 lines" - you need a bit more code. Beyond
>that we would have to maintain two codelines, including for the
>following upcoming changes:
>- Adding "-s" for alternative signal handling
>- Use of |sched_yield()| for zero values (based on empirical testing for
>the builtin command version)
>- GNU sleep-style postfix operators for { seconds, minutes, hours, days,
>weeks, months, years }
It was my understanding that all these commands are in the shell
library and that it's therefor possible to make a sleep which works
kinda like this:
int
main(int argc, char **argv)
{
b_sleep(argc, argv, ...);
}
etc?
- You still reuse the code from ksh93
- You keep it a normal binary
Casper
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code