pipe

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

pipe

Patrick Dupre
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"

I also tried with @ARG1, but same issue
It does not want to read from the file

Any idea ?

Thank

===========================================================================
 Patrick DUPRÉ                                 | | email: [hidden email]
 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
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
Reply | Threaded
Open this post in threaded view
|

Re: pipe

Philipp K. Janert
On Thu, 9 Mar 2017 23:17:30 +0100
"Patrick Dupre" <[hidden email]> 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:
> [hidden email] 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
> [hidden email]
> 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
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
Reply | Threaded
Open this post in threaded view
|

Re: pipe

Patrick Dupre
Sorry,

It does not work.

===========================================================================
 Patrick DUPRÉ                                 | | email: [hidden email]
 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" <[hidden email]>
> To: gnuplot <[hidden email]>
> Subject: Re: [Gnuplot-info] pipe
>
> On Thu, 9 Mar 2017 23:17:30 +0100
> "Patrick Dupre" <[hidden email]> 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:
> > [hidden email] 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
> > [hidden email]
> > 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
> [hidden email]
> 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
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
Reply | Threaded
Open this post in threaded view
|

Re: pipe

Philipp K. Janert
On Fri, 10 Mar 2017 01:53:45 +0100
"Patrick Dupre" <[hidden email]> wrote:

> Hello,
>
> I am attaching the file
>
> sh: -c: line 0: unexpected EOF while looking for matching `''
> sh: -c: line 1: syntax error: unexpected end of file
> "fit_voltage.gnu", line 13: warning: Skipping data file with no valid
> points
>
> plot "< 'gawk '!/^#/ { print  $2 }'" .FILE
>                                           ^
> "fit_voltage.gnu", line 13: x range is invalid
>

1) The sgl quote in front of the gawk has got to go.

2) Insert a blank space between the trailing sgl and
dbl quotes.

>
>
> ===========================================================================
>  Patrick DUPRÉ                                 | | email:
> [hidden email] 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 1:45 AM
> > From: "Philipp K. Janert" <[hidden email]>
> > To: "Patrick Dupre" <[hidden email]>
> > Subject: Re: [Gnuplot-info] pipe
> >
> > On Fri, 10 Mar 2017 01:11:41 +0100
> > "Patrick Dupre" <[hidden email]> wrote:
> >  
> > > Sorry,
> > >
> > > It does not work.  
> >
> > Strange, because it works for me.
> >
> > What kind of error msg or behavior do you observe?
> >  
> > >
> > > ===========================================================================
> > >  Patrick DUPRÉ                                 | | email:
> > > [hidden email] 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" <[hidden email]>
> > > > To: gnuplot <[hidden email]>
> > > > Subject: Re: [Gnuplot-info] pipe
> > > >
> > > > On Thu, 9 Mar 2017 23:17:30 +0100
> > > > "Patrick Dupre" <[hidden email]> 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:
> > > > > [hidden email] 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 [hidden email]
> > > > > 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
> > > > [hidden email]
> > > > 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
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
Reply | Threaded
Open this post in threaded view
|

Re: pipe

Rob Sargent
Did you try ${FILE}

Sent from my iPad

> On Mar 9, 2017, at 6:45 PM, Philipp K. Janert <[hidden email]> wrote:
>
> On Fri, 10 Mar 2017 01:53:45 +0100
> "Patrick Dupre" <[hidden email]> wrote:
>
>> Hello,
>>
>> I am attaching the file
>>
>> sh: -c: line 0: unexpected EOF while looking for matching `''
>> sh: -c: line 1: syntax error: unexpected end of file
>> "fit_voltage.gnu", line 13: warning: Skipping data file with no valid
>> points
>>
>> plot "< 'gawk '!/^#/ { print  $2 }'" .FILE
>>                                          ^
>> "fit_voltage.gnu", line 13: x range is invalid
>>
>
> 1) The sgl quote in front of the gawk has got to go.
>
> 2) Insert a blank space between the trailing sgl and
> dbl quotes.
>
>>
>>
>> ===========================================================================
>> Patrick DUPRÉ                                 | | email:
>> [hidden email] 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 1:45 AM
>>> From: "Philipp K. Janert" <[hidden email]>
>>> To: "Patrick Dupre" <[hidden email]>
>>> Subject: Re: [Gnuplot-info] pipe
>>>
>>> On Fri, 10 Mar 2017 01:11:41 +0100
>>> "Patrick Dupre" <[hidden email]> wrote:
>>>
>>>> Sorry,
>>>>
>>>> It does not work.  
>>>
>>> Strange, because it works for me.
>>>
>>> What kind of error msg or behavior do you observe?
>>>
>>>>
>>>> ===========================================================================
>>>> Patrick DUPRÉ                                 | | email:
>>>> [hidden email] 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" <[hidden email]>
>>>>> To: gnuplot <[hidden email]>
>>>>> Subject: Re: [Gnuplot-info] pipe
>>>>>
>>>>> On Thu, 9 Mar 2017 23:17:30 +0100
>>>>> "Patrick Dupre" <[hidden email]> 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:
>>>>>> [hidden email] 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 [hidden email]
>>>>>> 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
>>>>> [hidden email]
>>>>> 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
> [hidden email]
> 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
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
Reply | Threaded
Open this post in threaded view
|

Re: pipe

tmacchant
In reply to this post by Patrick Dupre
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: [hidden email]
> 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" <[hidden email]>
>>  To: gnuplot <[hidden email]>
>>  Subject: Re: [Gnuplot-info] pipe
>>
>>  On Thu, 9 Mar 2017 23:17:30 +0100
>>  "Patrick Dupre" <[hidden email]> 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:
>>  > [hidden email] 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
>>  > [hidden email]
>>  > 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
>>  [hidden email]
>>  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
> [hidden email]
> 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
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
Reply | Threaded
Open this post in threaded view
|

Re: pipe

Patrick Dupre
Thank

===========================================================================
 Patrick DUPRÉ                                 | | email: [hidden email]
 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 10:18 AM
> From: "Tatsuro MATSUOKA" <[hidden email]>
> To: "Patrick Dupre" <[hidden email]>, "Philipp K. Janert" <[hidden email]>
> Cc: [hidden email]
> Subject: Re: [Gnuplot-info] pipe
>
> 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: [hidden email]
> > 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" <[hidden email]>
> >>  To: gnuplot <[hidden email]>
> >>  Subject: Re: [Gnuplot-info] pipe
> >>
> >>  On Thu, 9 Mar 2017 23:17:30 +0100
> >>  "Patrick Dupre" <[hidden email]> 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:
> >>  > [hidden email] 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
> >>  > [hidden email]
> >>  > 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
> >>  [hidden email]
> >>  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
> > [hidden email]
> > 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
[hidden email]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info