------------ Regarding the "silly C code" to repeat a shell command. Yes, the shell is capable of executing the same function. But the shell is an interpreter, whereas the C code can be compiled. The difference is in the execution time, in which case the C code has the advantage. Michael (Cap'n Raster) Rivero