Or it works only in vers >=4 ! In fact, I have a Debian-stable system, with
gnuplot 3.7. gnuplot --version don't work here.
Do you have the chance to compare my error with your debian-stable system,
if you have one?
I hope the newsgroup can help me
--
I use PGP/GPG. Ask for my key if interested.
-
----- Original Message -----
From: "Marek W. Gutowski" <gu...@if...>
To: "only4" <onl...@ka...>
Sent: Monday, October 25, 2004 2:49 PM
Subject: Re: [Gnuplot-info] $(gnuplot --version) don't work
> only4 wrote:
> > I want to obtain the version string of gnuplot and get is in a shell
script
> > variable, but I get an error trying the common
VERSION=$(gnuplot --version)
> > Ps: My goal is write some lines of shell script that uses "filledcurves"
> > only if Gnuplot is >=4, "lines" otherwise
> >
> Did you mean something like:
>
> % gnuplot --version
> gnuplot 4.0 patchlevel 0
> %
> ?
>
> It works perfectly in my Debian GNU/Linux installation.
> This is probably due to the standardization of Debian
> Linux packages and may not work under other Linux
> flavors.
> Give (Debian) Linux a chance.
> Marek Gutowski
> --
> Marek Gutowski, gu...@if...
> Institute of Physics, ON-3.2, Al. Lotnikow 32/46,
> (PL) 02-668 Warszawa, POLAND, tel. +48-22-8436601 ext. 3122
> >> To talk or not to talk? Yes, talk, plain ASCII please <<
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|