The problem is that sed does not know how to infer the final slash when you leave it out. ex/vi and ed both know to add the trailing slash, but sed doesn't. Dave