hmm please reply to the list, not to me. about your additional question about the syntax error in line 4: you should read some tutorials about (bash)scripting for example here: http://www-128.ibm.com/developerworks/library/l-bash2.html regards til