file's manipulation

2001-07-26 Thread COLLINEAU Franck FTRD/DMI/TAM
Hi! I ask two questions: 1) how can i do to add a line in the begining of a file ? 2) how can i do to delete lines after a character string which is in a line ? thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: file's manipulation

2001-07-26 Thread Jerry Preston
COLLINEAU, You need to open a new file, then the one in question. 1. Add the new line to the new file. 2. Read from the old file and write to the new file. 3. If need to alter any line or delete it, then do not write it to your new file 4. Close your files. Jerry COLLINEAU Franck FTRD/