From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 60AB37AF70 for ; Sat, 18 Apr 2015 03:54:42 -0700 (PDT) Received: by wizk4 with SMTP id k4so48019295wiz.1 for ; Sat, 18 Apr 2015 03:53:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=Y3XKRbFKJJjvUsdg+20IJGQyGcsWLM83RDEu1YsuLRc=; b=G3xIsGL65KBBIwB95YTYjp8NS17w1p4TcuYWE7ADSj41MzmVUBg2rf0acV6UoLq4MF jou5qGGTcvSJsBJoGkP8ulrBXGx5GoPlpJJq5d20PnqH6D+JIvNjZzSfBKZ/fPgykFym 5RelcJWLz6Eb5xh5hL5OHFAIewHfW87ISjx2fklULwc6U4mkFCCh/NPjccQzmQq+MUzw 6L1o/nZvu85N7bQ6hu1V1ZPxga9vQ4EJKkEeQuPptJKGM/o7keP6IE6Z7srK5CqoWlMT nSi+fEM+ZBdh9p2SXNybQs+Td9Owybv3J6hfsgAnwRHziVoO6Ns1jsHVJrVhPiYoUCQ8 ShTg== X-Received: by 10.194.122.105 with SMTP id lr9mr13977564wjb.153.1429354416724; Sat, 18 Apr 2015 03:53:36 -0700 (PDT) Received: from toaster.adamthompson.me.uk (toaster.adamthompson.me.uk. [2001:8b0:1142:9042::2]) by mx.google.com with ESMTPSA id l1sm6428713wiy.20.2015.04.18.03.53.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Apr 2015 03:53:35 -0700 (PDT) Date: Sat, 18 Apr 2015 11:53:33 +0100 From: Adam Thompson To: Karl Dahlke Message-ID: <20150418105333.GJ5949@toaster.adamthompson.me.uk> References: <20150316174053.eklhad@comcast.net> <20150417222842.GG5949@toaster.adamthompson.me.uk> <20150317183907.eklhad@comcast.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ONvqYzh+7ST5RsLk" Content-Disposition: inline In-Reply-To: <20150317183907.eklhad@comcast.net> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Edbrowse-dev@lists.the-brannons.com Subject: Re: [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: Sat, 18 Apr 2015 10:54:42 -0000 --ONvqYzh+7ST5RsLk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 17, 2015 at 06:39:07PM -0400, Karl Dahlke wrote: > > we probably want to go back to readdir. >=20 > I would rather not do this. > It is not portable, for one thing. It's as portable as wordexp. Both of them are posix. Probably neither of them are DOS. Also if we go for scandir, like glob, we can get the sorting we want via the alphasort comparisn function. > 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=20 > ``filename > just like you use %% for % in printf. I've gone for \` since that's shell escaping which makes more sense in this= case I think, though I don't really care. Cheers, Adam. --ONvqYzh+7ST5RsLk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVMjetAAoJELZ22lNQBzHO/uUH/1QrvQkFk549z5W/LgasQNuH G5Q1OG8i0rO6A0nfZjRx0NYFMItbu6R6042gB4SpV55qB9Ldlx0owQ8sLj2qWZJa CYmLM4jrNRcvm5+V4qKIx1m7+Bno5fme4NIpd2oTqAW8Cp3ulyJjOdcM5SrxDX7J NN2NrszKpCu/Vd5ZSJkPNrubp9rF4tPTa7mH70cB1fILd5EcZzvmV6Vt7bT4Vrci CH1Tbnvm7VegF8aip50m8204xO0BPKrcy3209OUk3cyxfRxZIJXdijgwTbCYJ9Zy 9VsZVcinA3O18jau5F289QEXfKdLYFK/KiNoplqbMFrmIXl3x6MjQ8yD+hdx4ZE= =cPA/ -----END PGP SIGNATURE----- --ONvqYzh+7ST5RsLk--