www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2011/12/05/16:44:53

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Mailer: exmh version 2.7.2 01/07/2005 (debian 1:2.7.2-18) with nmh-1.3
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Dynamic loading personal components (with subfolder) into the search component tree of gschem
In-reply-to: <CAAVSQ3uuCcY8wwhsAAzC6BktW4wE9N4dHxpxXupnUApZNf52KQ@mail.gmail.com>
References: <CAAVSQ3vnFZkWdWn=LCbf+WSM0vOx9pwW+OaeTs47EdO8nfmC_w AT mail DOT gmail DOT com> <20111130211002 DOT 32B5081F6275 AT turkos DOT aspodata DOT se> <CAAVSQ3tkg3es-uBn+yFroysi5xAOtNqW5hTs2yAWQfo47rUaVQ AT mail DOT gmail DOT com> <20111203133340 DOT E09A181D541B AT turkos DOT aspodata DOT se> <CAAVSQ3tQLSsBoCjzDE+qAGrVAzCJKzocACyMOkxVBPUqyLBD7Q AT mail DOT gmail DOT com> <20111203215549 DOT 238A581D5424 AT turkos DOT aspodata DOT se> <CAAVSQ3uJh64W9wxMof1FS4swK3amYrX0eAqyS+e-nd1vOGJSQA AT mail DOT gmail DOT com> <CAAVSQ3uuCcY8wwhsAAzC6BktW4wE9N4dHxpxXupnUApZNf52KQ AT mail DOT gmail DOT com>
Comments: In-reply-to Luigi Salvatore Palese <ultrabit AT gmail DOT com>
message dated "Mon, 05 Dec 2011 21:42:16 +0100."
Mime-Version: 1.0
Message-Id: <20111205214441.3691881D543C@turkos.aspodata.se>
Date: Mon, 5 Dec 2011 22:44:41 +0100 (CET)
From: karl AT aspodata DOT se (Karl Hammar)
X-Virus-Scanned: ClamAV using ClamSMTP
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Luigi:
...
> In attachment an improved version of the script.
...

That version works fine.

It seems a little strange, though, to use both ftw and opendir.
If we are going to use opendir, we could just as well do the
traversal ourself and dump ftw.

I see two alternatives:

a) I'm satisfied with my version, and stop here

b) we
    dump ftw
    do the traversal ourself
    clean up your script
  and proposes it for inclusion in geda

What do you think?

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019