From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33054 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Miguel_Alejandro_Salgado_Zapi=C3=A9n?= Newsgroups: gmane.text.pandoc Subject: Pandoc is attempting to execute as binary metadata values with whitespaces on CLI Date: Mon, 14 Aug 2023 08:29:09 -0700 (PDT) Message-ID: <9917658e-13d7-402a-ad4b-34cdb9189b7bn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_39206_269656447.1692026949368" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31458"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDFZ5YFX34DRBR4Q5GTAMGQEI5C3TDA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Aug 14 17:29:16 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pf1-f184.google.com ([209.85.210.184]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qVZVL-0007yj-7k for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 14 Aug 2023 17:29:15 +0200 Original-Received: by mail-pf1-f184.google.com with SMTP id d2e1a72fcca58-686b997cdeesf7904646b3a.0 for ; Mon, 14 Aug 2023 08:29:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1692026954; x=1692631754; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=82FiuQIscAf/w6tzEafjZd6+7x5u4OUxXYcDl5b1qjA=; b=b0A/MB+pW7JMArkMKuV3sU0qHzpb3IZetv8eYKm8g6Dt1u6+rKgmT9N9/NMrxK1mI0 k/zeKO01bm2x+Z8aPpsk5Kc1WYD62wcIZqUjKR9QLLzWwgruJkZDU0n7U2wNOCS+xp2v KcFDjxINf9XbXm6IIazPdzEreP3ZVSIctbRTK4cfxzJKjTpJgq0ZhgRb/nDPt8Lj7BHG vYmoXcA7alToFX3/oGxUvFtkVDNrua4nE+61VgER01sPH4rWFaWkMSMZzWRKUiVZYNvv 4jayF7qYdp5dqd7G+ElcTAO6YfX3SmEEdRGQvbaBjTYdbNQQ8JiDrRBZPLzht9BiGO7w h0nQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692026954; x=1692631754; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=82FiuQIscAf/w6tzEafjZd6+7x5u4OUxXYcDl5b1qjA=; b=dVAJOzeal55u5ciLnL9M8ZD4W0JDspqV//KcytuA0PJh57wo9qo2lzQVGZfwRMb9lm iDV/PGVRAanU667cZLQmhKvZiTKGOmPxdU9wJttyhbHHGrFNebTdN0IJeNkB22HYgCBU O8aG0KJsf66HDaGMaKZElutQAENDETNAyZE0YMI3Hkc1Li5GJQ14ow3BA3TKHtn5SO5X zst2zAtY6ww1jaiEyed5xypHji2gxNud3nmMKvOQta/FDXvzPvgXqk6HmVvpd8cpyjNk Wd/884St4nOPrFGSr4XKEMMf9sosQC8OYpG/VgZB+0wVyToKHJOyUV1qWhZuNJ5G+wsC 78Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692026954; x=1692631754; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:message-id:to:from:date :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=82FiuQIscAf/w6tzEafjZd6+7x5u4OUxXYcDl5b1qjA=; b=hvXo5PJaBU1m61p+cEYujGJdNxzRUvo5LBkECBKDLgrKIwzP/RZcp1DCwvXLM8hBe5 p+NBRtqKE2blse6jleH8xxeOGmTaksbQTDM+/s5xtj+LGMRkNW6SH3ksJe+tE87693+N /qbU6Oj57ORUDp8M5n/KpAQm/YGfcft7uImPkwUijWZvHIqfYkvfi9syTwdpVKOPxEFl 5LdDZpvbPhIXqlpEvQkUS2/+DbGx4VDxo6WInVmfugZZZgA83W8VxLBGsKZuILdNVMBu Ke/EqnXc5lyEAkr+DNOPQ3alTie1gitJsQfQZ78uxZELX8bsubEpaG/H2heYuWDuN8j7 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YyQ/L7apksEWeqYboZN7Ee6HdjNtdHKP/IRj+OEgTtZ4LRjkNJ6 n/VwKRgedj9zZJeM2qBZzSA= X-Google-Smtp-Source: AGHT+IE9Vip8GUGgXd4mHgW5axxzDJJVps0svtVoiMl5fL1GErzywuIxseEgLeLWHqWWg4ffuU1DJA== X-Received: by 2002:a05:6a20:938c:b0:13a:6bca:7a84 with SMTP id x12-20020a056a20938c00b0013a6bca7a84mr15415739pzh.44.1692026953928; Mon, 14 Aug 2023 08:29:13 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a62:8450:0:b0:686:c079:96d5 with SMTP id k77-20020a628450000000b00686c07996d5ls4091556pfd.1.-pod-prod-00-us; Mon, 14 Aug 2023 08:29:10 -0700 (PDT) X-Received: by 2002:a05:6a02:30b:b0:563:c425:b42a with SMTP id bn11-20020a056a02030b00b00563c425b42amr2231591pgb.4.1692026950201; Mon, 14 Aug 2023 08:29:10 -0700 (PDT) X-Original-Sender: mikesalzap-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.io gmane.text.pandoc:33054 Archived-At: ------=_Part_39206_269656447.1692026949368 Content-Type: multipart/alternative; boundary="----=_Part_39207_1746868315.1692026949368" ------=_Part_39207_1746868315.1692026949368 Content-Type: text/plain; charset="UTF-8" I'm using Pandoc as a static site build with a Makefile, I recently updated to . pandoc 3.1.6.1 Features: +server +lua Scripting engine: Lua 5.4 And when running this command: ``` pandoc \ -f markdown+footnotes \ -t html5 \ -s \ --template=./template/template.html \ --section-divs \ -C \ --include-before=template/include-before.html \ --include-after=template/include-after.html \ --metadata-file ./metadata.yaml \ --katex \ \ --metadata-file entries/radicale-tricks/metadata.yaml \ \ --metadata=git_date:"2023-01-26T14:39:04-08:00" \ --metadata=git_author:'"Miguel Alejandro Salgado Zapien"' \ --metadata=git_last_commit:8ff2a65ef5613d19f5a67d82df17d93159273582 \ --metadata=git_commit:874cb3b65c9969006c7156d78013f3274b10f587 \ \ -i entries/radicale-tricks/index.md \ -o build/entries/radicale-tricks/index.html ``` I get this output. ``` pandoc: Alejandro: withBinaryFile: does not exist (No such file or directory) ``` So previously I issued this issue with the date, which was `2023-01-26 14:39:04 -0800`, and it was trying to interpret the `-0` as a flag, and these two behaviors make me think that there is an issue with the CLI command parser. Any ideas on how I can fix this for my CLI script? Is this an actual issue? This used to work before my update. -- 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/9917658e-13d7-402a-ad4b-34cdb9189b7bn%40googlegroups.com. ------=_Part_39207_1746868315.1692026949368 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm using Pandoc as a static site build with a Makefile, I recently updated= to .

pandoc 3.1.6.1
Features: +server +lua
Scripting = engine: Lua 5.4

And when running this command:

```pandoc \
-f markdown+foot= notes \
-t html5 \
-s \
--template=3D./template/template.html \
--section-divs \
-C \
--inclu= de-before=3Dtemplate/include-before.html \
--include-after=3Dtemplate/include-after.html \
--metadata-file ./metadata.yaml \
<= span style=3D"white-space: pre;"> --katex \
=C2=A0\
--metadata-file entries/radicale-tricks/metadata.yaml \
=C2=A0\
--metadata=3Dgit_date:"2023-01-26T14:39:04-08:00" \
--metadata=3Dgit_author:'"Miguel Alejand= ro Salgado Zapien"' \
--meta= data=3Dgit_last_commit:8ff2a65ef5613d19f5a67d82df17d93159273582 \
--metadata=3Dgit_commit:874cb3b65c996= 9006c7156d78013f3274b10f587 =C2=A0\
= =C2=A0\
-i entries/r= adicale-tricks/index.md \
-o= build/entries/radicale-tricks/index.html
```

I get this ou= tput.
```
pandoc: Alejandro: withBinaryFile: does not exist (No s= uch file or directory)
```

So previously I issued this issu= e with the date, which was `2023-01-26 14:39:04 -0800`, and it was trying t= o interpret the `-0` as a flag, and these two behaviors make me think that = there is an issue with the CLI command parser.

Any ideas on how = I can fix this for my CLI script?
Is this an actual issue?

= This used to work before my update.

--
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 view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/9917658e-13d7-402a-ad4b-34cdb9189b7bn%40googlegroups.= com.
------=_Part_39207_1746868315.1692026949368-- ------=_Part_39206_269656447.1692026949368--