Since the files (from the point of view of the standard C library) are not line oriented, but are simply a sequence of characters (or bytes in binary mode), you cannot expect to edit them on a linear level easily.
As Aaron described, you can, of course, replace the characters that make up the line if your replacement is exactly the same number of characters.
You can also (possibly) insert a shorter replacement by filling in spaces at the end (before the line terminator). This, of course, is a little rude.
unwind Dec 02 '09 at 13:23 2009-12-02 13:23
source share