In-reply-to » I'm no C programmer. Faced with the question of how to slurp in a text file from disk without getting over my head into the mysteries of malloc / realloc and pointer manipulation, I remembered: wait, I have a whole scripting engine right here. That's what it's made for!

@prologic@twtxt.net Ah ha ha! I didn’t think of that one. It would have meant messing with popen instead anyway: a whole other can of worms.

⤋ Read More