From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-ch2-11v.sys.comcast.net (resqmta-ch2-11v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:43]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 584FB7AEF7 for ; Fri, 17 Apr 2015 16:15:24 -0700 (PDT) Received: from resomta-ch2-10v.sys.comcast.net ([69.252.207.106]) by resqmta-ch2-11v.sys.comcast.net with comcast id HBDz1q0062JGN3p01BELfT; Fri, 17 Apr 2015 23:14:20 +0000 Received: from eklhad ([IPv6:2601:4:5380:4ee:21e:4fff:fec2:a0f1]) by resomta-ch2-10v.sys.comcast.net with comcast id HBEK1q00R5LMg2101BELlr; Fri, 17 Apr 2015 23:14:20 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke References: <20150316174053.eklhad@comcast.net> <20150417224352.GH5949@toaster.adamthompson.me.uk> User-Agent: edbrowse/3.5.3+ Date: Fri, 17 Apr 2015 19:14:19 -0400 Message-ID: <20150317191419.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=1429312460; bh=Iwn4J71dg1kjGYQ2sT4ufU3cS6dGmoZPYdyYvkHmOMo=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=VuP3T04KzFwOBdW9COHfLk1DcmDENqoAjxE+bgW01o5n/qttUF4dC0ldu12adGkLH prFXHFNSHOHKPW95CjiYp+LBKVObU8y3/aetqzjWEGvFOjnChGguJ8PTJzuLfd+2j1 dQZw7vGpYQusOkipArUqX2184L7xgvEc7ph16SCWo4ebwaBVamyWDFalv770D2PCaq oFDq7BlZkc8ySpBk97NPVHNlVSeg5Q0uIn8jZPCitb/a1wX4Pav2EoxFAhk0WySjAx 0aR/F0LzZOc4uG771YvIyrONuPoJsycPoVwT92Wo/jNaOqdaXNPDFz3IneXW8etn6Y VvduuQT5Y3eIA== 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 23:15:24 -0000 Ok the first thing I notice with ` reversed is that r5 works again, and that makes me happy. I then notice that I still get 0 when I edit the directory a\b and I will look into that one some more. A simple debug print shows the string passed to wordexp is a\\b/* which is correct. Doesn't matter how we got here, it is correct, and should expand properly, but it does not, so I still say, as I did from the start, there is a bug in wordexp. Maybe it's not important, not a high runner case for us, or maybe I can find a way around it, or maybe we need to use glob() for directory scan, though that would not solve the case of e `a\b/foo* IDK. The third thing I notice is that cd ~user/work doesn't expand any more, unless I use `, and I think in this case, the cd command, it's understood to be a shell thing, so I propose changing this one to expand by default. I can make that change, unless people disagree. Karl Dahlke