On 6/25/2010 7:25 AM, Jorgen Grahn wrote:
> On Thu, 2010-06-24, Nobody wrote:
>> On Wed, 23 Jun 2010 17:27:16 -0500, Tim Daneliuk wrote:
>>
>>> Given a program 'foo' that takes a command line argument '-I
>>> includefile', I want to be able to look for 'includefile' in a path
>>> specified in an en
On Thu, 2010-06-24, Nobody wrote:
> On Wed, 23 Jun 2010 17:27:16 -0500, Tim Daneliuk wrote:
>
>> Given a program 'foo' that takes a command line argument '-I
>> includefile', I want to be able to look for 'includefile' in a path
>> specified in an environment variable, 'FOOPATH'.
>>
>> I'd like a
On 6/24/2010 2:57 AM, Gregory Ewing wrote:
> Tim Daneliuk wrote:
>> "If 'includefile' contains one or more path separator characters,
>>ignore 'FOOPATH'.
>
> Are you sure that's exactly what you want? Usually with
> such things the distinction is absolute vs. relative,
> not whether there is
Tim Daneliuk wrote:
"If 'includefile' contains one or more path separator characters,
ignore 'FOOPATH'.
Are you sure that's exactly what you want? Usually with
such things the distinction is absolute vs. relative,
not whether there is more than one pathname component.
E.g. in a C file,
#i
On Wed, 23 Jun 2010 17:27:16 -0500, Tim Daneliuk wrote:
> Given a program 'foo' that takes a command line argument '-I
> includefile', I want to be able to look for 'includefile' in a path
> specified in an environment variable, 'FOOPATH'.
>
> I'd like a semantic that says:
>
> "If 'includefil
On Wed, Jun 23, 2010 at 3:27 PM, Tim Daneliuk wrote:
> Given a program 'foo' that takes a command line argument '-I
> includefile', I want to be able to look for 'includefile' in a path
> specified in an environment variable, 'FOOPATH'.
>
> I'd like a semantic that says:
>
> "If 'includefile' con
Given a program 'foo' that takes a command line argument '-I
includefile', I want to be able to look for 'includefile' in a path
specified in an environment variable, 'FOOPATH'.
I'd like a semantic that says:
"If 'includefile' contains one or more path separator characters,
ignore 'FOOPATH'.