Page 1 of 1
How to locate End of File marker in a huge flat file?
Posted: Fri Jan 02, 2004 10:12 pm
by sreddy
Hi,
I am working on a Huge Flat file which contains around 14 million rows and want to find an EOF Marker in that file. Can somebody help me in finding.
Thanks in Advance,
Posted: Fri Jan 02, 2004 10:51 pm
by MudGuard
Are you speaking of a Ctrl-Z (ASCII 26) character?
Open Find dialog,
make sure RegEx is activated.
Search for
\x1a
\x starts a hex character
1a = 16 + 10 = 26
EOF Marker(ASCII 26)
Posted: Fri Jan 02, 2004 11:28 pm
by sreddy
Thanks for your response, Yes I am looking for Ctrl+Z.
couldn't get anything when I try to find \x1a with my RegExp on,by the way I am using textpad editor.
Posted: Sat Jan 03, 2004 3:19 am
by talleyrand
Are you certain it's \x1a that's in your file? I just created a file and put a ctrl-Z in there and TP found it a-ok. Perhaps it's another non-printable ASCII character? I'd try opening the file in binary mode and see what the actual hex value is for the EOF character. Either select the file using the Open dialog menu or use a real hex editor. I'm a fan of
XVI.