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)
Change History (3)
by , 14 months ago
| Attachment: | ffindbug.btm added |
|---|
comment:1 by , 13 days ago
| Owner: | set to |
|---|---|
| Status: | new → accepted |
comment:2 by , 13 days ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.

Fixed in 5.00.0. Reopen if necessary.