public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* null output?
@ 2022-06-23 11:23 William Lupton
       [not found] ` <CAEe_xxii0b_gJSxY9ruh1pW_gXcNUp9wXn1_QPJjkupYnfzj8A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: William Lupton @ 2022-06-23 11:23 UTC (permalink / raw)
  To: pandoc-discuss

[-- Attachment #1: Type: text/plain, Size: 807 bytes --]

Hello,

When testing I find that I quite often don't care about the output (because
I care about filter output), so I often redirect stdout to /dev/null.

This is fine, but I wondered whether there could / should be (or indeed is)
a way of indicating that no output is desired. This might, for example, be
indicated via --to "" or --to null?

Worth it? Not worth it?

Thanks,
William

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxii0b_gJSxY9ruh1pW_gXcNUp9wXn1_QPJjkupYnfzj8A%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 1247 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: null output?
       [not found] ` <CAEe_xxii0b_gJSxY9ruh1pW_gXcNUp9wXn1_QPJjkupYnfzj8A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2022-06-23 11:46   ` Albert Krewinkel
  0 siblings, 0 replies; 2+ messages in thread
From: Albert Krewinkel @ 2022-06-23 11:46 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


William Lupton <wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org> writes:

> When testing I find that I quite often don't care about the output
> (because I care about filter output), so I often redirect stdout to
> /dev/null.
> This is fine, but I wondered whether there could / should be (or indeed
> is) a way of indicating that no output is desired. This might, for
> example, be indicated via --to "" or --to null?

I usually use `-o /dev/null` when developing Lua scripts: that will
discard the document, but preserves any `print` messages and warnings
that my scripts may produce.


-- 
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe  e836 388d c0b2 1f63 1124


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-23 11:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-23 11:23 null output? William Lupton
     [not found] ` <CAEe_xxii0b_gJSxY9ruh1pW_gXcNUp9wXn1_QPJjkupYnfzj8A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-06-23 11:46   ` Albert Krewinkel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).