On 11 Apr 2002 at 16:56, Gustavo Niemeyer wrote: > > How can you reliably update a file if there's no > > obvious mapping between file position and character > > position? > > If you're updating a text file, the relation is > probably about line position, not file position. That's in the logical file. In the physical file, there may be 1 or 2 character line endings. Mixed. So knowing I want line 7 doesn't help me seek to it on disk. No Windows programmer ever uses "+" without "b" without regret ;-(. -- Gordon http://www.mcmillan-inc.com/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4