X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=ugeq/+sIrs9AAek9LOwUQ8vsVABYdOplMggHndGCs/A=; b=Ud7ceoIMwEva5liugaTpAj/5lYwWUrx5zulpRXaZ3x01VkQg7siJCcs77oGgyF8w4X 8QwSgRdi4seCXZWZPquKTbrJmJrWQmaSKb06KS4FTlpEd6Vo5pP8vTnQsJ5lBpAltQnY oRzbRdu3AQ9veb084WWrroGdTyS+25EtenC0pyv1JUKEvwqbGFC8XhDjUvx4fdeXWk0q 7pEGqZS1sm9GeIQxKtRfJb8yAt85/tyReWXhM1/NjtolvgDCB/e2lVdX74Pbyrh9ZR0h /+NToBjYBleQzq02bZXYJGfm21NAb+WNk4IIqLRgMaoZkyU8IbY4xbTDy7KUgl0w0wog 5RlQ== X-Received: by 10.224.8.131 with SMTP id h3mr27066043qah.61.1397924357126; Sat, 19 Apr 2014 09:19:17 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <201404180221.s3I2LOUB004683@envy.delorie.com> References: <201404171458 DOT s3HEwG4r032541 AT envy DOT delorie DOT com> <201404171815 DOT s3HIFreo008095 AT envy DOT delorie DOT com> <201404172021 DOT s3HKLTWI018066 AT envy DOT delorie DOT com> <201404172108 DOT s3HL8q7I020414 AT envy DOT delorie DOT com> <201404180221 DOT s3I2LOUB004683 AT envy DOT delorie DOT com> From: Filippo Micheletti Date: Sat, 19 Apr 2014 18:18:37 +0200 Message-ID: Subject: Re: [geda-user] pcb graphical objects spec To: MAILING LIST gEDA-user Content-Type: multipart/alternative; boundary=001a11c2be64babe4504f767a02e 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 Precedence: bulk --001a11c2be64babe4504f767a02e Content-Type: text/plain; charset=UTF-8 Thank you all for (the lot of) replies! To manipulate a pcb file I build a little parser in Python which doesn't recognize lines but patterns directly, in fact, being the file text-oriented, one can use regular expressions or more generally character recognition to get structures contained in the file (like elements, lines, etc). I need such parser to build a sort of project composer, I will publish it when it will be finished and tested anyway! Thank you again! -Filippo- On 18 April 2014 04:21, DJ Delorie wrote: > > > I see a really simple solution here: currently PCB saves with predictable > > newlines. There could be a command line switch or script option to > enforce > > it. > > It would have no effect since pcb already does that, and I doubt we'll > ever change that for this file format, so the switch would never be > needed. > --001a11c2be64babe4504f767a02e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you all for (the lot of) replies!
To manipulate = a pcb file I build a little parser in Python which doesn't recognize li= nes but patterns directly, in fact, being the file text-oriented, one can u= se regular expressions or more generally character recognition to get struc= tures contained in the file (like elements, lines, etc).
I need such parser to build a sort of project composer, I will publish= it when it will be finished and tested anyway!
Thank you again!<= /div>


-Filippo-<= div>



On 18 April 2014 04:21, DJ Delorie <dj AT del= orie.com> wrote:

> I see a really simple solution here: currently PCB saves with predicta= ble
> newlines. There could be a command line switch or script option to enf= orce
> it.

It would have no effect since pcb already does that, and I doubt we&#= 39;ll
ever change that for this file format, so the switch would never be
needed.

--001a11c2be64babe4504f767a02e--