From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-ch2-05v.sys.comcast.net (resqmta-ch2-05v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:37]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 467857AF0A for ; Fri, 17 Apr 2015 15:40:12 -0700 (PDT) Received: from resomta-ch2-16v.sys.comcast.net ([69.252.207.112]) by resqmta-ch2-05v.sys.comcast.net with comcast id HAf01q0032S2Q5R01Af7oZ; Fri, 17 Apr 2015 22:39:07 +0000 Received: from eklhad ([IPv6:2601:4:5380:4ee:21e:4fff:fec2:a0f1]) by resomta-ch2-16v.sys.comcast.net with comcast id HAf71q00D5LMg2101Af7Wm; Fri, 17 Apr 2015 22:39:07 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke References: <20150316174053.eklhad@comcast.net> <20150417222842.GG5949@toaster.adamthompson.me.uk> User-Agent: edbrowse/3.5.3+ Date: Fri, 17 Apr 2015 18:39:07 -0400 Message-ID: <20150317183907.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1429310347; bh=nM1D9XEe26I/TPJ1QFhlpFYcHVMPE1WicDcYcY6kDyw=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=sx/fPfbmxjhcjUTsMNzlFgT0dIo3kgC7N3THYkopOiv+j4U2GL1SljUK9XJS0mDGF zdTp1wuBbgyZUStKhGub5/i4gNoTcQP+lG1BREQ9jqy7eyGbOAAbBMoVjKueMdUHgY rkoik8PxUHeNPe0KMnUfcNUIQ6F4kSDu8OMD/SeTrVJld0FL/XsqiN5oxiZlptTnVO TgOk5zj1dCCh+ga+5zvUh63vP29r0g1Ffd6WSRq3UIJdWX7Jg2TQWy/TKKaXRDhSrP bHKaYrKB6YSdBkR12kk0MaVuecyNWzeUo3Rm5MvgwnANPG9r1FbWHdRRg+NpBoGi2o 7FWzM+3LVMqyg== Subject: [Edbrowse-dev] wordexp again X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2015 22:40:12 -0000 > we probably want to go back to readdir. I would rather not do this. It is not portable, for one thing. And the wordexp * protected code will expand directories just fine, if not double expanded, and it would not be double expanded if you had your reversed ` convention in place. Not trying to have all of us move all the chess pieces at once, so why don't you push your new ` convention first, and we'll all play with it for a bit, and see that directory scans work just fine, and then take the next step whatever that may be. For files with leading ` I would use the convention ``filename just like you use %% for % in printf. Karl Dahlke