[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: batch testing gschem features



On Tue, 12 Oct 2010 09:58:16 +0400, Ineiev <ineiev@xxxxxxxxx> wrote:
> Then I thought that the right script can be determined
> parsing the version string:
> echo "(gschem-exit)" > quit.scm
> gschem_version=$(${GSCHEM} -s quit.scm 2>&1 |grep version|sed "s/.* //")
> and so on. this approach worked at least since geda-1.1.2.
> unfortunately, since geda-1.5.3 gschem doesn't output
> the version to stdout. it probably means that the sequence
> will break when the commands to load the color map change again.
> 
> Any ideas?

Why oh why doesn't gschem --version DTRT?

Peter :-(


-- 
Peter Brett <peter@xxxxxxxxxxxxx>
Remote Sensing Research Group
Surrey Space Centre


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user