From: Tatsuro M. <tma...@ya...> - 2017-03-10 09:18:16
|
Try plot "< awk '$0 !~ /^\#/ { print $2 }' < " . FILE not >> plot "< awk '$0 !~ /^\#/ { print $2 }' " . FILE Tatsuro ----- Original Message ----- > From: Patrick Dupre > To: Philipp K. Janert > Cc: gnuplot <gnuplot-info > Date: 2017/3/10, Fri 09:11 > Subject: Re: [Gnuplot-info] pipe > > Sorry, > > It does not work. > > =========================================================================== > Patrick DUPRÉ | | email: pd...@gm... > Laboratoire de Physico-Chimie de l'Atmosphère | | > Université du Littoral-Côte d'Opale | | > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > 189A, avenue Maurice Schumann | | 59140 Dunkerque, France > =========================================================================== > > >> Sent: Friday, March 10, 2017 at 12:29 AM >> From: "Philipp K. Janert" <ja...@ie...> >> To: gnuplot <gnu...@li...> >> Subject: Re: [Gnuplot-info] pipe >> >> On Thu, 9 Mar 2017 23:17:30 +0100 >> "Patrick Dupre" <pd...@gm...> wrote: >> >> > Hello, >> > >> > This works fine: >> > plot "< awk '$0 !~ /^\#/ { print $2 }' < > F0016CH2.csv" >> > >> > Now, I want to use the file name from a variable >> > FILE = "F0016CH2.csv" >> > >> > but I cannot make it works: >> > plot "< awk '$0 !~ /^\#/ { print $2 }' < > @FILE" >> >> plot "< awk '$0 !~ /^\#/ { print $2 }' " . FILE >> >> > >> > I also tried with @ARG1, but same issue >> > It does not want to read from the file >> > >> > Any idea ? >> > >> > Thank >> > >> > > =========================================================================== >> > Patrick DUPRÉ | | email: >> > pd...@gm... Laboratoire de Physico-Chimie de l'Atmosphère | | >> > Université du Littoral-Côte d'Opale | | >> > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 >> > 189A, avenue Maurice Schumann | | 59140 Dunkerque, >> > France >> > > =========================================================================== >> > >> > > ------------------------------------------------------------------------------ >> > Announcing the Oxford Dictionaries API! The API offers world-renowned >> > dictionary content that is easy and intuitive to access. Sign up for >> > an account today to start using our lexical data to power your apps >> > and projects. Get started today and enter our developer competition. >> > http://sdm.link/oxford >> > _______________________________________________ >> > gnuplot-info mailing list >> > gnu...@li... >> > Membership management via: >> > https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> >> >> > ------------------------------------------------------------------------------ >> Announcing the Oxford Dictionaries API! The API offers world-renowned >> dictionary content that is easy and intuitive to access. Sign up for an >> account today to start using our lexical data to power your apps and >> projects. Get started today and enter our developer competition. >> http://sdm.link/oxford >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> > > ------------------------------------------------------------------------------ > Announcing the Oxford Dictionaries API! The API offers world-renowned > dictionary content that is easy and intuitive to access. Sign up for an > account today to start using our lexical data to power your apps and > projects. Get started today and enter our developer competition. > http://sdm.link/oxford > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |