#include "ccan/tal/path/path.h"
#include "ccan/tal/grab_file/grab_file.h"
#include "ccan/err/err.h"
#include "ccan/tal/path/path.h"
#include "ccan/tal/grab_file/grab_file.h"
#include "ccan/err/err.h"
for (r = *repl; r; r = r->next) {
if (write(fd,r->string,strlen(r->string)) != strlen(r->string)
|| write(fd, "\n", 1) != 1) {
for (r = *repl; r; r = r->next) {
if (write(fd,r->string,strlen(r->string)) != strlen(r->string)
|| write(fd, "\n", 1) != 1) {