Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Harald Oehlmann Newsgroups: comp.lang.tcl Subject: Re: glob not working during startup Date: Tue, 27 May 2025 09:06:48 +0200 Organization: A noiseless patient Spider Lines: 25 Message-ID: <1013oa8$2ggip$1@dont-email.me> References: <1011khu$1vtbv$1@dont-email.me> <81c4ead3d1e5bffe85c7c3f23edeaa5a@www.novabbs.com> <1013mue$2g8g2$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 27 May 2025 09:06:48 +0200 (CEST) Injection-Info: dont-email.me; posting-host="02a84cfb8501f922534502daafd818c9"; logging-data="2638425"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18JSITETeO1z+GkvdCPAPmL" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:xZUCrrWd9vZQg5jai0l+GMWX8ts= In-Reply-To: <1013mue$2g8g2$1@dont-email.me> Content-Language: en-GB Bytes: 1977 Am 27.05.2025 um 08:43 schrieb Christian Gollwitzer: > Am 26.05.25 um 14:06 schrieb alexandru: >> On Mon, 26 May 2025 11:49:14 +0000, Alan Grunwald wrote: >>> >>> I have no constructive suggestions, except to ask if you are REALLY SURE >>> that this is what's failing? Whenever I come across something like this >> I just dicovered, that there is more to it and probably it's not the >> glob commands fault at all. >> I need to dig deeper... > > Hint for debugging: Whenever you assume that it is failing, try this: > > trace add execution glob enter echo > > and if running outside of tkcon: > > proc echo args  { puts "TRACE: $args" } > > > This way, you'll see exactly how it is called and if e.g. homedir is > simply empty etc. > >            Christian Great trick, thanks Christian !