help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: file where sep decimals is comma


From: Sebastian Kruk
Subject: Re: Re: file where sep decimals is comma
Date: Sat, 24 Sep 2011 19:01:25 -0300

I'm using Windoze. I would like to change local envieroment to Uruguay
where decimal point is comma.

2011/9/24  <address@hidden>:
> Send Help-octave mailing list submissions to
>       address@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://mailman.cae.wisc.edu/listinfo/help-octave
> or, via email, send a message with subject or body 'help' to
>       address@hidden
>
> You can reach the person managing the list at
>       address@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Help-octave digest..."
>
>
> Today's Topics:
>
>   1. Re: Octave 3.4.2 Mingw Image Package (ijourneaux)
>   2. Re: file where sep decimals is comma (Marco Atzeri)
>   3. Re: Octave 3.4.2 Mingw Image Package (nitnit)
>   4. Please help (address@hidden)
>   5. Install Error using 3.4.2 (Rick T)
>   6. Please help (address@hidden)
>   7. Is there memory leak in this approach? (babelproofreader)
>   8. Re: file where sep decimals is comma (Leo Butler)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 23 Sep 2011 18:30:38 -0700 (PDT)
> From: ijourneaux <address@hidden>
> To: address@hidden
> Subject: Re: Octave 3.4.2 Mingw Image Package
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> I dug into it after I posted. The error is the result of a missing dll
>
>  libgomb-1.dll. (hope I got the spelling right. Not by my development
> computer right now)
>
> I search the Octave 3.4.2 folder and didn't find it.
>
> --
> View this message in context: 
> http://octave.1599824.n4.nabble.com/Octave-3-4-2-Mingw-Image-Package-tp3837297p3838471.html
> Sent from the Octave - General mailing list archive at Nabble.com.
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 24 Sep 2011 06:24:28 +0200
> From: Marco Atzeri <address@hidden>
> To: address@hidden
> Subject: Re: file where sep decimals is comma
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> On 9/24/2011 2:11 AM, Francesco Potort? wrote:
>>>>> 1984;4249,6
>>>>
>>>> sed -e "s/,/./" -e "s/;/,/" old_file>  new_file
>>>
>>> sed 's/,/./; s/;/,/' old>  new
>>>
>>> does the trick with less writing, although it does look like my cat
>>> danced on the keyboard.
>>
>> Well, if we're at less writing, this one is shorter :)
>>
>> tr ',;' .,<o>n
>>
>
> this is fine :-) on Unix-like
>
> but sometime I needed such operation on windows,
> and sed for MS is easy available.
>
> Regards
> Marco
>
> PS) No idea of the system used by the original requestor.
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 24 Sep 2011 00:01:05 -0700 (PDT)
> From: nitnit <address@hidden>
> To: address@hidden
> Subject: Re: Octave 3.4.2 Mingw Image Package
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=us-ascii
>
>
> I not find any libgomb-1.dll - did you mean libgomp-1.dll ?
>
> This (libgomp-1.dll) dll is included in the bin subdir in Tatsuro's
> MinGW-TM.zip and in the mingw32/bin subdir of my recent 7z archuve (see
> http://octave.1599824.n4.nabble.com/Updated-Octave3-4-2-Mingw-for-testing-was-Mingw-Octave-3-4-2-blank-gnuplot-printouts-td3814047.html).
>
> Nitzan
>
> --
> View this message in context: 
> http://octave.1599824.n4.nabble.com/Octave-3-4-2-Mingw-Image-Package-tp3837297p3838833.html
> Sent from the Octave - General mailing list archive at Nabble.com.
>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 24 Sep 2011 11:48:15 +0000
> From: address@hidden
> To: address@hidden
> Subject: Please help
> Message-ID:
>        <address@hidden>
>
> Content-Type: text/plain; charset="Windows-1252"
>
> I am using octave 3.2.4.I don't know how to save after I have done the 
> iterations.please help
> Sent from my BlackBerry? wireless device
>
> ------------------------------
>
> Message: 5
> Date: Sat, 24 Sep 2011 02:05:50 -1000
> From: Rick T <address@hidden>
> To: address@hidden
> Subject: Install Error using 3.4.2
> Message-ID:
>        <address@hidden>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Greetings all
>
> I'm getting this error when trying to install on ubuntu 10.04
>
> Cannot open file debug.h
> /usr/bin/f77: aborting compilation
> make[2]: *** [arpack/src/libcruft_la-cgetv0.lo] Error 1
> make[2]: Leaving directory `/home/ubu32sc/Downloads/octave-3.4.2/libcruft'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/ubu32sc/Downloads/octave-3.4.2'
> make: *** [install] Error 2
>
> This link says to use the gfortran compiler but how does one switch to it?
>
> "One difference: I used *gfortran* (which is a Fortran 95 compiler) not the
> *f77* you seem to be using. Where did *f77* come from? I don't see that in
> the repositories.
>
> In the "aptitude build-dep" stage, I kept libgl1-mesa-dev instead of
> replacing it with libgl1-mesa-swx11-dev, but that shouldn't matter."
>
> http://ubuntuforums.org/showthread.php?t=1685070
>
> thanks
> --
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> <http://mailman.cae.wisc.edu/pipermail/help-octave/attachments/20110924/19401bdb/attachment-0001.html>
>
> ------------------------------
>
> Message: 6
> Date: Sat, 24 Sep 2011 12:26:39 +0000
> From: address@hidden
> To: address@hidden
> Subject: Please help
> Message-ID:
>        <address@hidden>
>
> Content-Type: text/plain; charset="Windows-1252"
>
> I am using octave 3.2.4.I don't know how to save after I have done the 
> iterations.please help
> Sent from my BlackBerry? wireless device
>
> ------------------------------
>
> Message: 7
> Date: Sat, 24 Sep 2011 05:45:25 -0700 (PDT)
> From: babelproofreader <address@hidden>
> To: address@hidden
> Subject: Is there memory leak in this approach?
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> I have written many .oct functions which require numerous arrays/vectors to
> hold internal calculations, but which output perhaps just a few of these
> arrays/vectors as return values. A simplistic example is:
>
> DEFUN_DLD (complex_function, args, , "Help String")
> {
>  octave_value retval;
>  ColumnVector input = args(0).column_vector_value ();
>  ColumnVector internal_vector_1 = args(0).column_vector_value ();
>  ColumnVector internal_vector_2 = args(0).column_vector_value ();
>  ColumnVector internal_vector_3 = args(0).column_vector_value ();
>  ColumnVector output = args(0).column_vector_value ();
>
>   for (octave_idx_type ii (0); ii < input.length(); ii++)
>       {
>        main code loops and writes to internal_vector_1, internal_vector_2
>        & internal_vector_3 during course of calculations, and final result
> is
>        written to output
>       }
>
>  retval = output;
>  return retval;
> }
>
> My concern is: What happens to the internal_vectors? Do I need to clean them
> up in some way or is the memory they occupy automatically released once the
> function exits?
>
> --
> View this message in context: 
> http://octave.1599824.n4.nabble.com/Is-there-memory-leak-in-this-approach-tp3839277p3839277.html
> Sent from the Octave - General mailing list archive at Nabble.com.
>
>
> ------------------------------
>
> Message: 8
> Date: Sat, 24 Sep 2011 09:04:12 -0400
> From: Leo Butler <address@hidden>
> To: Francesco Potort? <address@hidden>
> Cc: Leo Butler <address@hidden>, address@hidden
> Subject: Re: file where sep decimals is comma
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset="utf-8"
>
> Francesco Potort? <address@hidden> writes:
>
>> Well, if we're at less writing, this one is shorter :)
>>
>> tr ',;' .,<o>n
>
> Yes, tr is the right Unix solution since we are doing a straight
> substitution of characters, not dealing with regex. Thanks for the
> reminder.
>
>
> ------------------------------
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
>
>
> End of Help-octave Digest, Vol 66, Issue 53
> *******************************************
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]