Re: [RFA] New substitute-path commands

Joel Brobecker
2006-07-11T20:45:43Z

> The reason for anchoring is to reduce surprising behavior. Especially
> since this only replaces one occurance, it seems like the path of least
> astonishment. For instance, "substitute-path foo bar" would replace
> /fool with /barl and /tmp/myfoo with /tmp/mybar.

That makes really good sense. I now prefer anchoring too.

Since we're anchoring the start, it might make sense to anchoring
the end as well, if only for consistency.

--
Joel