有一个文件a.txt,内有如下内容:#test startabcdefghhijklmno#test endpqrsghijklmn这样的话,把#test startabcdefghhijklmno#test end这些行删除,并且将删除后的内容追加到b.txt末尾。这样的话该怎么写呢?感激不尽。