Re: [gedit-list] Re: gedit-list Digest, Vol 7, Issue 7
- From: Paolo Borelli <pborelli katamail com>
- To: ken scottshill com
- Cc: gedit-list gnome org
- Subject: Re: [gedit-list] Re: gedit-list Digest, Vol 7, Issue 7
- Date: Sun, 28 Aug 2005 12:26:14 +0200
> I do have word-wrap turned on. I turned it off and it still gives me the
> same proble of hanging. The lines in the file are not long 30 chars
> length for each line. The problem seems to come when I do a Replace
> function to search for the | character and replace it with the ','
> characters. There are several thousands instances of the | character in
> the file.
>
This explains some things, search&replace speed needs to be improved,
but it's easier said than done :)
You may try to make the search case sensitive which should improve
things quite a bit.
> Is there perhaps a command line that I can use?
>
Sure, you can use 'sed' (which outputs the processed file) or use this
simple perl command which edits the file in place: perl -p -i -e
's/\|/,/g' yourfile.txt
ciao
Paolo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]