>Is this what you meant by "in general you can't use csh on a bourne >shell script"? >> $ ls -lai csh.test >> 45854 -rwxr-xr-x 1 randle 27 Jun 14 13:39 csh.test >> $ cat csh.test >> csh >> echo "this is in csh" >> >> $ csh.test (NOTE: expected to see a csh prompt followed by the echo) >> randle at kenner> (NOTE: Ok, got the prompt, gave it a return) >> randle at kenner> (NOTE: ...Ummm no echo... will try another return) >> randle at kenner> exit (NOTE: Still no echo, lets try exit) >> randle at kenner> this is in csh (NOTE: Got the echo!!) >> $ (NOTE: Sh prompt was returned automatically) > Well, not really. What I meant was that if you try things like "for i in a b c ; do" in csh, it won't work. What's happening in your script is that you're calling csh, and sh is waiting for it to exit before doing the echo call. If you wanted csh to execute the echo, you'd have to do either echo "this is in csh" | csh or (and I'll let you read the sh man page to figure this out): csh << EOF echo "this is in csh" EOF Jim Plank