Mail Archives: geda-user/2015/07/19/17:42:35
On Sun, 2015-07-19 at 12:36 +0200, Roland Lutz wrote:
> 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".
>
Thanks for the explanation. This saves me searching in the
documentation. Indeed I saw that behaviour in gschem, but did not know
that it was really intended.
- Raw text -