[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] Re: [MERGE REQUEST] unify various commands around arch_

From: Miles Bader
Subject: [Gnu-arch-users] Re: [MERGE REQUEST] unify various commands around arch_fqvsn_from_tree_and_input
Date: 20 May 2004 13:49:50 +0900

Robert Collins <address@hidden> writes:
> I don't see the issue: the grammar is not ambiguous: first it tries
> archive paths, then file paths. If you have a file path which is also a
> archive path, just prepend ./ to it, which is not valid for any
> component of an archive path.

Well you're right, but this is a bit of a dangerous thing -- because
it's _unlikely_ to conflict, it's easy to get away with using simple
paths in scripts, etc., which might end up doing the wrong thing
sometime in the future.  [E.g. count all the shell scripts out there
that use `cmd $FILE' instead of `cmd "$FILE"', and break someday when
FILE contains whitespace.]

I presume with patches like Colin's (which I'm all for in general -- I
hate typing all those fq names), the danger perhaps becomes a bit

Of course, one can attack this problem by simply stressing in the
documentation the need to be careful when writing scripts &c.

P.S.  All information contained in the above letter is false,
      for reasons of military security.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]