Apparently, copying code snippets around the place is fraught with little gotchas. The problem with that last example was that the line breaks were stuffed up.
I noticed that the example in the email had blank lines in it, gedit didn't show those. I deleted the line breaks, added new ones and it works fine. (I was also using /sh not /bash, but that just changed the error message.) Thanks everyone for your help. Kerry On 17/04/2008, Steve Holdoway <[EMAIL PROTECTED]> wrote: > Always a good day when you learn something new. Yes indeed!
