Ostendali.
1) You did not respond to the posted problem
2) Posted scripts should be tested before posting.
3) Linux since 0.99r3 !!
(I.T. since 1961 - when we used vacuum tubes and punched cards!)
ZEROF,
You're answer was pointed to the correct solution. Thank you.