On 10 May 2016 at 10:33, Lex Trotman <[email protected]> wrote:
> Asciidoc python works fine from a pipe, you just have to put '-' as
> the file, see the last sentence of the description in the manpage.
>
> So:
>
> cat files | asciidoc -
>
> or
>
> asciidoc - <(files)


PS seems to work for asciidoctor too, but can't find the manual entry

>
> Cheers
> Lex
>
> On 10 May 2016 at 08:05, Dan Allen <[email protected]> wrote:
>>
>> On Mon, May 9, 2016 at 3:20 PM, 'Marco Ciampa' via asciidoc
>> <[email protected]> wrote:
>>>
>>> That is really interesting since I though that a FIFO was a PIPE (an
>>> anonymous PIPE) but evidently I was wrong (again)...
>>
>>
>> I learned something too! As it turns out, you need to handle a FIFO (named
>> pipe) differently than the STDIN pipe.
>>
>> When using a named pipe, it is necessary to specify an output file.
>> Otherwise, it will try to write to /dev/fd, which is clearly not a writeable
>> location.
>>
>> -Dan
>>
>> --
>> Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen
>>
>> --
>> 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.

-- 
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