Re: inserting text at BEGINNING of file

2003-04-12 Thread Rob Dixon
Randal L. Schwartz wrote: > > > > > > "Mark" == Mark Van <[EMAIL PROTECTED]> writes: > > Mark> I am writing some blog software, but I can't figure out how to write > Mark> to the beginning of a file, because when I print to the file it always > Mark> goes at the end. Also, I don't want to overwrite

Re: inserting text at BEGINNING of file

2003-04-12 Thread R. Joseph Newton
"mark van..." wrote: > I am writing some blog software, but I can't figure out how to write to > the beginning of a file, because when I print to the file it always > goes at the end. Also, I don't want to overwrite the existing text in > the file, I want to insert the new text. What is the code

Re: inserting text at BEGINNING of file

2003-04-12 Thread Wiggins d'Anconia
mark van... wrote: I am writing some blog software, but I can't figure out how to write to the beginning of a file, because when I print to the file it always goes at the end. Also, I don't want to overwrite the existing text in the file, I want to insert the new text. Well you can do it the v

Re: inserting text at BEGINNING of file

2003-04-12 Thread Randal L. Schwartz
> "Mark" == Mark Van <[EMAIL PROTECTED]> writes: Mark> I am writing some blog software, but I can't figure out how to write Mark> to the beginning of a file, because when I print to the file it always Mark> goes at the end. Also, I don't want to overwrite the existing text in Mark> the file, I

inserting text at BEGINNING of file

2003-04-12 Thread mark van...
I am writing some blog software, but I can't figure out how to write to the beginning of a file, because when I print to the file it always goes at the end. Also, I don't want to overwrite the existing text in the file, I want to insert the new text. -- To unsubscribe, e-mail: [EMAIL PROTECTED]