From 58cd8d022f045bcf19d40253c20fc4439f60d5d8 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sat, 15 Oct 2016 02:53:24 +0200 Subject: blogc: add cli option to read list of source files from stdin this patch adds `-i` option to command line. it will instruct blogc to read stdin and parse it as a file where each source file is a line and empty lines and lines starting with `#` are ignored. this patch makes it possible to use blogc to build big blogs with lots of pages, that would hit the operating system max command line length when calling blogc to build pages. --- man/blogc.1.ronn | 19 ++++++++++++++++--- src/blogc/main.c | 29 +++++++++++++++++++++++++++-- 2 files changed, 43 insertions(+), 5 deletions(-) diff --git a/man/blogc.1.ronn b/man/blogc.1.ronn index a97122b..fc865b8 100644 --- a/man/blogc.1.ronn +++ b/man/blogc.1.ronn @@ -3,9 +3,15 @@ blogc(1) -- a blog compiler ## SYNOPSIS -`blogc` `-d` [`-D` = ...] `-t`