From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/16622 Path: news.gmane.org!.POSTED!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: Filter with arguments Date: Fri, 06 Jan 2017 21:36:42 +0000 Message-ID: References: <20170106114647.GG791@Administrateurs-iMac-3.local> <8760ls8jby.fsf@fastmail.fm> <20170106125852.GA1662@Administrateurs-iMac-3.local> <20170106211115.GA30105@Johns-MBP.home> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f403045ec68ef8e44b054573d00a X-Trace: blaine.gmane.org 1483738617 14338 195.159.176.226 (6 Jan 2017 21:36:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 6 Jan 2017 21:36:57 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCWMVYEK54FRB5U3YDBQKGQEJCN6YXA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jan 06 22:36:51 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-lf0-f58.google.com ([209.85.215.58]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cPcBu-0002lU-A4 for gtp-pandoc-discuss@m.gmane.org; Fri, 06 Jan 2017 22:36:50 +0100 Original-Received: by mail-lf0-f58.google.com with SMTP id o12sf6393417lfg.1 for ; Fri, 06 Jan 2017 13:36:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=GNgGvNpw0hinNzjlRXRytXqf4bOGfz5kS0A1mNKpLzc=; b=UXYoAKtnAxXNODNr8+optGyR9JG1pllvgzWqpiyCKZzRTpT20RSp0XSSruwQUdo7db Q6C1lGVntv60zR0jUXYDJZmna2l9uEr0E7tcbL0/aCAyazpZUxb2on1hwGsE8VNcFd/Q v/fXnvrUBmttoRTLIHl2Id3tVtMeOXLY7k3v+XniH9EMvm+mDE30loO4fCQN3ty4kQB3 ITzNpey3YD3MIkh4lGmD3Jf8xT9Qmx8I99gzIAH0VguF4V8bJKaeJBaeqOltvBT4XNVd PARs5oVStI8nH1tCF3Irj+2k7NOsdLgCx2Y2GXIb+GjWF2dzlkH078oEJ7LiosvfGA0T y+IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=GNgGvNpw0hinNzjlRXRytXqf4bOGfz5kS0A1mNKpLzc=; b=gc2pGdndfl9NrkgdJrqk4SeHYafNmsPnALHl+5zlL4P6h8F4v6J5XaNiM8qI2Y24K4 k2/zNbcW/m4m4/90Ytk/rzMnHSl0l63APUIxZBNT+TZbF4g/kRpuE2XiY1IhSZ/d2i5A YHdgI9TUmFjYUbNaLAptZ/4litNwi6VOSzSpse39Rn7+HAvDXjf6LkeNiavHU9LPWMee S/ckSAGDB0JTTFQLOg36SUjH8ra76zxCDUpe7Rgrf5KGt8w7XXNz98Qs1A/LR2ZTn/RE zTr2hk0adqgne+ajE3KLqs33XAdkUMqcKVMrJHjFr2g5W7wwfKsC7zfluN1AyNf/jqKD WmQA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AIkVDXJHbC5+75jg8o5ZdbLE0SFQAU3Uy1pp+01hnXv5cAXjfshMWKvKjSrNfzRc08WMTA== X-Received: by 10.25.216.36 with SMTP id p36mr554711lfg.13.1483738614986; Fri, 06 Jan 2017 13:36:54 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.46.83.9 with SMTP id h9ls837153ljb.38.gmail; Fri, 06 Jan 2017 13:36:54 -0800 (PST) X-Received: by 10.46.88.15 with SMTP id m15mr78192ljb.27.1483738614153; Fri, 06 Jan 2017 13:36:54 -0800 (PST) Original-Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com. [209.85.215.67]) by gmr-mx.google.com with ESMTPS id e134si223232wmd.3.2017.01.06.13.36.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Jan 2017 13:36:53 -0800 (PST) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.215.67 as permitted sender) client-ip=209.85.215.67; Original-Received: by mail-lf0-f67.google.com with SMTP id q89so878234lfi.1 for ; Fri, 06 Jan 2017 13:36:53 -0800 (PST) X-Received: by 10.46.78.1 with SMTP id c1mr26681100ljb.39.1483738613079; Fri, 06 Jan 2017 13:36:53 -0800 (PST) In-Reply-To: <20170106211115.GA30105-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org> X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.215.67 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:16622 Archived-At: --f403045ec68ef8e44b054573d00a Content-Type: text/plain; charset=UTF-8 It may seem different to Windows users. Setting environment variables on Windows is a pain. fre 6 jan. 2017 kl. 22:12 skrev John MacFarlane : > +++ Matthew Pickering [Jan 06 17 18:42 ]: > > >Communicating arguments though env vars is very ad-hoc, an option > > > > I still haven't understood the case against using > > environment variables. In what way are they "ad hoc"? > > They are pretty standardly used to communicate options to > > 'make', for example. > > > > It's just about the same effort to write > > > > MYARG=blah pandoc --filter foo > > > > as to write > > > > pandoc -filter foo --filter-args blah > > > > And an added advantage of environment variables is that > > you can set them once and then not have to repeat. > > > > -- > > 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/20170106211115.GA30105%40Johns-MBP.home > . > > For more options, visit https://groups.google.com/d/optout. > > -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhB9TuDXh7OEELzMPjHBAabmLzgfq%3D-NzzGN9%3DUkvxSpbg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. --f403045ec68ef8e44b054573d00a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It may seem different to Windows users. Setting environment variables = on Windows is a pain.

fre 6 j= an. 2017 kl. 22:12 skrev John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>:
+++= Matthew Pickering [Jan 06 17 18:42 ]:

>Commu= nicating arguments though env vars is very ad-hoc, an option



I still haven't understood the= case against using

environment variables.=C2=A0= In what way are they "ad hoc"?

They a= re pretty standardly used to communicate options to
=
'make', for example.



It's just about the same effort to write



=C2=A0 =C2=A0 MYARG=3Dblah pandoc --f= ilter foo



as to writ= e



=C2=A0 =C2=A0 pand= oc -filter foo --filter-args blah



And an added advantage of environment variables is that

you can set them once and then not have to repeat.


--

You received this message because you are subscribed to the Google = Groups "pandoc-discuss" group.

To unsu= bscribe from this group and stop receiving emails from it, send an email to= pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.

To post to this group, send email to
pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.

To v= iew this discussion on the web visit https://groups.google.com/d/ms= gid/pandoc-discuss/20170106211115.GA30105%40Johns-MBP.home.

For more options, visit https:= //groups.google.com/d/optout.

<= /div>

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://gro= ups.google.com/d/msgid/pandoc-discuss/CADAJKhB9TuDXh7OEELzMPjHBAabmLzgfq%3D= -NzzGN9%3DUkvxSpbg%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--f403045ec68ef8e44b054573d00a--