www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/07/19/06:38:24

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Sun, 19 Jul 2015 12:36:18 +0200 (CEST)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Difference between attached and detached
attributes
In-Reply-To: <1437260376.699.31.camel@ssalewski.de>
Message-ID: <alpine.DEB.2.11.1507191236120.3281@nimbus>
References: <55A813B5 DOT 4040609 AT sbcglobal DOT net> <alpine DOT DEB DOT 2 DOT 11 DOT 1507190000470 DOT 2893 AT nimbus> <1437260376 DOT 699 DOT 31 DOT camel AT ssalewski DOT de>
User-Agent: Alpine 2.11 (DEB 23 2013-08-11)
MIME-Version: 1.0
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

On Sun, 19 Jul 2015, Stefan Salewski wrote:
> Have you experience with attached multiline attributes?

Line breaks aren't treated specially in attribute, so they can be part of 
both the attribute name and value.  The first equals sign spearates the 
name from the value; further equals signs are part of the value.

> aa=bb
> cc=dd

In this example, "aa" is the attribute name, and "bb\ncc=dd" is the 
attribute value.  For show_name_value=value, gschem displays

bb
cc=dd

and for show_name_value=name, it consequently displays

aa

> But if I understood John Doty correctly he used something like
>
> xxx=
> aa=bb
> cc=dd
>
> for spice. Is that valid, and how to display for "show_value"?

You would display anything that follows the first equals sign--an empty 
line, a line containing "aa=bb", and a line containing "cc=dd".

Roland

- Raw text -


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