Re: Should "dir" override the full path encoded in debug info?

Andrew STUBBS
2006-06-26T15:39:51Z

Bob Rossi wrote:
> On Mon, Jun 26, 2006 at 07:50:37AM -0700, Joel Brobecker wrote:
>>> How about adding subcommands `add' and `remove' and having more than one
>>> substitution rule?
>> I personally think that would be overkill... Others?
>
> Well, it seem to me that eventually users will need to subsitute
> multiple paths. So, it makes sense to support it right away. I don't
> know if add/remove is the best way. It would be a good idea to also
> consider a key/value colon separated list. Where if they want to use :,
> they will have to escape it (\).
>
> substitute-path /home/foo=/home/bar:/home/foo\:1=/home/foo\:2

Let's not forget Windows here. The colon might be a problem.

I don't think the dir command currently uses (semi-)colon for input,
only output, so scripts remain compatible.

Andrew