Doug wrote:
case $1 in
If $1 is undefined (i.e. you pass in no arguments), this line becomes case in which is incorrect syntax, of course. Answer: quote the "$1". -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/