Opened 3 months ago

#81 new defect

FFIND /R does not search all of file

Reported by: Anton Monroe Owned by:
Priority: major Milestone:
Component: Base Version: 3.09
Keywords: Cc:

Description

It looks like FFIND /R starts a search from the last line-ending, not the end of the file. So if the last line does not have a CRLF, it will not be searched.

In a binary file, ffind /r seems to search for the last character 0A, then start the reverse search from there. Strangely, if the file does not have a 0A, it apparently starts over from the bottom to find the last character 0D and then uses that as a starting point. To demonstrate, run the attached batchfile.

Attachments (1)

ffindbug.btm (2.7 KB ) - added by Anton Monroe 3 months ago.

Download all attachments as: .zip

Change History (1)

by Anton Monroe, 3 months ago

Attachment: ffindbug.btm added
Note: See TracTickets for help on using tickets.