I have an awk script, and want to introduce a time delay. How can I do this?
system("sleep 5");
Can system do sub-second sleeps?
System doesn't really care, that depends on your sleep implementation.
This works for me:
system("ksh93 -c \"sleep 0.5\"");