m_mapDst
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
Wild Edit error
Running WildEdit against a directory with a single 3GB delimited text file, attempting a simple single char replace with "nothing". Here is the log:
=== BEGIN REPLACE COMMAND ===
{
Time: 2007-Nov-16 14:54:21
Search Pattern: þ
Replacement Format:
Character Encoding: windows-1252
Root folder: T:\ReDo3\(edited)
File Filter: *.dat.txt
Regular Expression: false
Replacement Format: false
Match Case: false
Match Words: false
Search Subfolders: false
}
T:/ReDo3/(edited)/Review.dat: m_mapDst too small
Number of files searched: 1
Number of files modified: 0
Total changes made: 0
=== END REPLACE COMMAND ===
=== BEGIN REPLACE COMMAND ===
{
Time: 2007-Nov-16 14:54:21
Search Pattern: þ
Replacement Format:
Character Encoding: windows-1252
Root folder: T:\ReDo3\(edited)
File Filter: *.dat.txt
Regular Expression: false
Replacement Format: false
Match Case: false
Match Words: false
Search Subfolders: false
}
T:/ReDo3/(edited)/Review.dat: m_mapDst too small
Number of files searched: 1
Number of files modified: 0
Total changes made: 0
=== END REPLACE COMMAND ===
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
Until someone who know more can help, I am just offering comments to help trigger some thoughts.
I no longer think this is Map and DST related, I am now thinking that the Dst stands for Destination instead.
It looks like the b]þ[/b] character you are searcing for may be a "non-standard" character. Do you need to use a different Character Encoding value?
Is the File Filter correct? Maybe need a space or delimiter?
My comments above are probably not correct, but may help steer you to the correct solution. Good luck.
I no longer think this is Map and DST related, I am now thinking that the Dst stands for Destination instead.
It looks like the b]þ[/b] character you are searcing for may be a "non-standard" character. Do you need to use a different Character Encoding value?
Is the File Filter correct? Maybe need a space or delimiter?
My comments above are probably not correct, but may help steer you to the correct solution. Good luck.
Hope this was helpful.............good luck,
Bob
Bob
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
Scirocco is using windows-1252 (WinLatin1, the default in English-speaking countries), in which þ is the character with value 0xFE. It's a lower-case thorn, used every day in mediaeval England and modern Iceland. There's nothing non-standard about it.
I don't use WildEdit, so I haven't got a licence for it, and I can't try it out on big files.
But I wouldn't use a GUI application for such a straightforward edit. Using the unixish utility sed, for example, you can do it with a one-line command:
sed -e s/þ// oldfile > newfile
(Be sure you use an 8-bit clean version of sed; all modern versions should be 8-bit clean).
On this 1.8 GHz lap-top that takes 10 - 15 min on a 3 GB file.
Edit: Corrected units!
I don't use WildEdit, so I haven't got a licence for it, and I can't try it out on big files.
But I wouldn't use a GUI application for such a straightforward edit. Using the unixish utility sed, for example, you can do it with a one-line command:
sed -e s/þ// oldfile > newfile
(Be sure you use an 8-bit clean version of sed; all modern versions should be 8-bit clean).
On this 1.8 GHz lap-top that takes 10 - 15 min on a 3 GB file.
Edit: Corrected units!