|
From: Rob S. <rob...@ut...> - 2017-03-10 05:04:00
|
Did you try ${FILE}
Sent from my iPad
> On Mar 9, 2017, at 6:45 PM, Philipp K. Janert <ja...@ie...> wrote:
>
> On Fri, 10 Mar 2017 01:53:45 +0100
> "Patrick Dupre" <pd...@gm...> 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:
>> 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 1:45 AM
>>> From: "Philipp K. Janert" <ja...@ie...>
>>> To: "Patrick Dupre" <pd...@gm...>
>>> Subject: Re: [Gnuplot-info] pipe
>>>
>>> On Fri, 10 Mar 2017 01:11:41 +0100
>>> "Patrick Dupre" <pd...@gm...> 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:
>>>> 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
|