diff -up ./src/command.c.dblfree ./src/command.c --- ./src/command.c.dblfree 2019-04-11 07:08:24.358253603 -0400 +++ ./src/command.c 2019-04-11 07:08:43.955193615 -0400 @@ -785,7 +785,6 @@ changestring(void) } } fprintf(script, "w\nq\n!\n"); /* write and quit */ - fclose(script); /* if any line was marked */ if (anymarked == YES) {