[fpc-pascal] FPC-2.6.1 daily build for Ubuntu Precise and Quantal, i386 and amd64

2012-10-08 Thread Bernd
I have set up a daily build of latest 2.6.1: https://code.launchpad.net/~prof7bit/+archive/fpc-2.6-latest ppa:prof7bit/fpc-2.6-latest (should update automatically from now on without manual intervention) and also (because I needed it once for bootstrapping and will also need it for lazarus-1.0.0)

Re: [fpc-pascal] Replacing line in big text file

2012-10-08 Thread Tomas Hajny
On 8 Oct 12, at 18:43, Krzysztof wrote: > Thanks Tomas, I'll look at your example Well, the provided URL contains just my unit, not the example for using it. I'll send you the example privately off list. Tomas ___ fpc-pascal maillist - fpc-pascal@l

Re: [fpc-pascal] Re: windres not required/provided by Debian 2.6.0 FPC

2012-10-08 Thread Tomas Hajny
On 8 Oct 12, at 18:31, Reinier Olislagers wrote: > On 8-10-2012 9:12, Tomas Hajny wrote: > > On Mon, October 8, 2012 08:21, Reinier Olislagers wrote: Hi Reinier, > >> While getting a Jenkins continuous integration server going > >> > >> On Debian 6 (Squeeze), I installed just enough packages

Re: [fpc-pascal] Replacing line in big text file

2012-10-08 Thread Krzysztof
Thanks Tomas, I'll look at your example ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: windres not required/provided by Debian 2.6.0 FPC

2012-10-08 Thread Reinier Olislagers
Hi Tomas, On 8-10-2012 9:12, Tomas Hajny wrote: > On Mon, October 8, 2012 08:21, Reinier Olislagers wrote: > > > Hi Reinier, > >> While getting a Jenkins continuous integration server going >> >> On Debian 6 (Squeeze), I installed just enough packages to get a >> compiler and get a compile

Re: [fpc-pascal] Replacing line in big text file

2012-10-08 Thread Tomas Hajny
On Mon, October 8, 2012 17:00, Guionardo Furlan wrote: > 2012/10/8 Krzysztof : Hi, >> I must modify some one line (mostly first line) in big text file (~10 >> 000 lines). Doing this by loading and saving file using TStringList >> takes a long time (and amount of RAM). Exists any faster way based

Re: [fpc-pascal] Replacing line in big text file

2012-10-08 Thread Guionardo Furlan
If the line lenght has the same size, you can use a simple file of char to locate initial and ending offsets of the line and directly edit chars. I think this is the fastest way. 2012/10/8 Krzysztof : > Hi, > > I must modify some one line (mostly first line) in big text file (~10 > 000 lines). Doi

[fpc-pascal] Replacing line in big text file

2012-10-08 Thread Krzysztof
Hi, I must modify some one line (mostly first line) in big text file (~10 000 lines). Doing this by loading and saving file using TStringList takes a long time (and amount of RAM). Exists any faster way based on TextFile type (like Write, WriteLn)? Regards

Re: [fpc-pascal] windres not required/provided by Debian 2.6.0 FPC

2012-10-08 Thread Tomas Hajny
On Mon, October 8, 2012 08:21, Reinier Olislagers wrote: Hi Reinier, > While getting a Jenkins continuous integration server going > > On Debian 6 (Squeeze), I installed just enough packages to get a > compiler and get a compile job going . . > The manual mentions that the FreePascal distr