On Tue, 12 Oct 2010 09:58:16 +0400, Ineiev <ine...@gmail.com> 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 <pe...@peter-b.co.uk> Remote Sensing Research Group Surrey Space Centre _______________________________________________ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user