Gary Hawkins wrote: > > > If the original line is "testing\n", the new line will be "tested\n\n". > > No, > > If the original line is "testing\n", the new line will be "tested". > If the original line is "testing", the new line will be "tested".
Yes, you are right, however it only works if the file only has _one line_ otherwise you delete the rest of the file. John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]