From: Georgios Petasis on
Hi all,

Is "glob -nocomplain -directory $dir *" working for you? Because for me
its not!
It always returns the empty list, while glob -nocomplain $dir/* works!

George
From: Harald Oehlmann on
On 21 Jul., 13:04, Georgios Petasis <peta...(a)iit.demokritos.gr> wrote:
> Is "glob -nocomplain -directory $dir *" working for you? Because for me
> its not!
Hi George,
sorry for this frustrating experience.
For me, it works:
TCL 8.5.8 on windows:
% glob -nocomplain -directory data *
data/sqlite.dba
From: MartinLemburg on
Hi George,

like Harald already stated ... it works for me perfectly since ...
ever.

Martin

On 21 Jul., 13:04, Georgios Petasis <peta...(a)iit.demokritos.gr> wrote:
> Hi all,
>
> Is "glob -nocomplain -directory $dir *" working for you? Because for me
> its not!
> It always returns the empty list, while glob -nocomplain $dir/* works!
>
> George

From: Alexandre Ferrieux on
On Jul 21, 1:04 pm, Georgios Petasis <peta...(a)iit.demokritos.gr>
wrote:
> Hi all,
>
> Is "glob -nocomplain -directory $dir *" working for you? Because for me
> its not!
> It always returns the empty list, while glob -nocomplain $dir/* works!

Possibly yet another weird remote filesystem trick (NFS or Samba).
Please send an strace output (just the few lines near the end).

-Alex
From: Andreas Leitgeb on
Ο Georgios Petasis <petasis(a)iit.demokritos.gr> έγραψε:
> Is "glob -nocomplain -directory $dir *" working for you? Because for me
> its not!
> It always returns the empty list, while glob -nocomplain $dir/* works!

Just guessing: does your $dir contain wildcard characters?