Opened 14 months ago

Closed 13 days ago

#81 closed defect (fixed)

FFIND /R does not search all of file

Reported by: Anton Monroe Owned by: Gregg Young
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 14 months ago.

Download all attachments as: .zip

Change History (3)

by Anton Monroe, 14 months ago

Attachment: ffindbug.btm added

comment:1 by Gregg Young, 13 days ago

Owner: set to Gregg Young
Status: newaccepted

comment:2 by Gregg Young, 13 days ago

Resolution: fixed
Status: acceptedclosed

Fixed in 5.00.0. Reopen if necessary.

Note: See TracTickets for help on using tickets.