bug-bash
[Top][All Lists]
Advanced

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

Re: getting FNM_PATHNAME behaviour from pattern matching


From: Sitaram Chamarty
Subject: Re: getting FNM_PATHNAME behaviour from pattern matching
Date: Mon, 9 Feb 2009 23:40:37 +0530

On Mon, Feb 9, 2009 at 10:08 PM, Chet Ramey <address@hidden> wrote:
>> I'd like
>>     [[ abc/dd/def.html == abc/*.html ]]; echo $?
>>
>> to return 1, not 0.
>>
>> What am I missing/doing wrong?
>
> You're not doing anything wrong.  There's no mechanism to force
> FNM_PATHNAME-style matching using the [[ command.

:-(

Afterward, I realised this is probably the case; thanks for confirming it.

Regards,

Sitaram




reply via email to

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