On 2016-05-09, 'Marco Ciampa' via asciidoc <[email protected]> wrote:
> On Mon, May 09, 2016 at 10:26:27AM +1000, Lex Trotman wrote:
>> Where would it be "included"?
>
> On the top, following the order of arguments like the include directive
> in the file.
>
> Like this:
>
> asciidoctor --include file1.adoc --include file2.adoc textfile.adoc

One way this is done in bash is:

 $ asciidoctor <(cat file1.adoc file2.adoc textfile.adoc)

But, neither asciidoc nor asciidoctor seem to be able to deal
with a FIFO:

 $ cat <(cat a b c)
 contents of a
 contents of b
 contents of c

 $ asciidoc <(cat a b c)
 asciidoc: FAILED: input file /dev/fd/63 missing

 $ asciidoctor <(cat a b c)
 asciidoctor: FAILED: input path /dev/fd/63 is a fifo, not a file

IMO, that's a bug for a Unix command line application.  But, I don't
care enough about it to actually do anything...

-- 
Grant Edwards               grant.b.edwards        Yow! ... I don't like FRANK
                                  at               SINATRA or his CHILDREN.
                              gmail.com            

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to