From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30513 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Default data dir Date: Wed, 4 May 2022 17:14:09 +0200 Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000041060805de31141f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14322"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBS5QZKJQMGQEPZ7FSNA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed May 04 17:14:22 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f63.google.com ([209.85.128.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nmGhq-0003Uz-Ra for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 04 May 2022 17:14:22 +0200 Original-Received: by mail-wm1-f63.google.com with SMTP id n26-20020a1c721a000000b003941ea1ced7sf776365wmc.7 for ; Wed, 04 May 2022 08:14:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1651677262; cv=pass; d=google.com; s=arc-20160816; b=Y6f5Q+aczRmgaUUGukdMxf38NEnstyATYKdUFWFrpAf3gxCvTUaprHgsviUZE6GulT hk65imKVX2JDnv8ReJTuiJV6Eh6buP3FkbVNGMAvX50DpvU8cmekOBddHJ5HLlaDNMGE pnnHCE+5/RmollCUtvoPVY/aUBp/TrRizaMo/bJs98IcXkpiL2GHcFwktqFmLBlbbsD3 ZFrOxdlUdwOyd8haUzljXSN7fClxLIuxEhe7+Ogf28h0+w/J35C8PAsR0K4lPCzm9krs /B4OEXMCi2CIU7cWGFTBjj7PeCVcMsLi0GkPkZDhjIummF1jm0H65ZbXlC1ZVYpOL0QY sSvA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:mime-version:sender:dkim-signature:dkim-signature; bh=/pjOy7XULvny0GyyQ935VW8HWnDB8pvy8+rEkBTjqEU=; b=eYdTtMk1SVdKWpTysRRrZ+NpQO2z6WG1rXhKQcE0iaA1tmi8tTzM7qJgMlpwGLPmSm lO1QTenYUzgrbRertVUZAqU41R51PX4wjqjCyB+mPIiZctYgYyA/KMfbkGXAgFlhtgwV QPM3s/56sR4UNsX+Lu/ZflcbxbZowrokLSsQ67JP+dJ+xddsLmeElfOvj9ytK22ThTGf X6cOYKpQXdj4TbBclLFjYhSZy9i+8CKH/zLEeQso+26emTHif0Rmvhfg0ELVgGLjX1yQ fEJOMdjjDZZrowXdWNMD5Sd4/c4N4GEw53rngjW/iuFr8Pbtp/ca7qr5wABpN7n75tQC 8GVA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=p6d1OuSg; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::62c as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:mime-version:from:date:message-id:subject:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=/pjOy7XULvny0GyyQ935VW8HWnDB8pvy8+rEkBTjqEU=; b=tvQUJGhTsqRUWOSnUqAvMhAjv9sNifYe55V/vjA/XfEmVIPLx82xgocMcxr4kwv1UA AuSG/mq/lHZAEPVOaGVdHuPDTE4Yv5N71Y2MpE77P8LFFpjjiU0GOrPuBAeNXLZf5rpe YF8O01kdeQiJH0iiX2dLIguDF+AvcaXXKUkvrVIkcYDqMcpXX3Hqk+PVVXMz1tcka5jP 2JOijklV8zohrqYRAxMviULasiVq8nHewHPr99SjU/XjI4CpTGHgVNWncFZIJDfGipoh BlzKX3av6FzFGVKyhbphW50/wcwbErWbunInld2shKBAb6TV8td1luGmjTg8uTlxL8U+ 066w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=/pjOy7XULvny0GyyQ935VW8HWnDB8pvy8+rEkBTjqEU=; b=o4W/NeRIL0vvMlAGXTZQqkG27Qja4Z/NDq4GrrrAtwnHnCvGODHtTyZlGHMPQ37ndk c2vMPPorDJT50/RilewbBMpsFD6sMHhCA2k4dIaN1iBRnyQgRPzowjlA/7cA8OiY6yJO rkClRTo/GMzvnoCLjb/1ZX8DoYzStOcwIvEehv2ws54xUgJQG6FwXnpLUmfS/yUIsttx 0lrdC6AmWu9RBv8RiaS2XgkP81AwlpG+ZAQekNhVLkrLnT43QIaLsKiJI0SEVgWpgQ1S lyjhIl8450TEO3hQLXpErVc4tM+3Hnz99AHAC5EqijfnGTAkGIw7FqDI/FYdHWNImZ8F tRzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:mime-version: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=/pjOy7XULvny0GyyQ935VW8HWnDB8pvy8+rEkBTjqEU=; b=Q6ATXgGnvRmRsKsGYRmbDGYTkguMFDR3xJtzkHllBPgeO/FLOycNGxYvOKhCWvk2uV Ds2OP7Qyez06GXNH9Clf/ErR8Qs6DbG71c6kAm/tUAEomVFmaOi45YGYgEn+ErRWuNlJ 62ntWNHgfLIxv+JmRSt18SsXwwe/yRybs9nArW9/KASn2LbTCQO+iv47e/qhywXO6gf4 86jtMRdVjqCHKjWWDiCg2bM+/m3onCcYdpxlBa3rLO5JBN5qcO1/UhPPhPIsmmwBf5up LL5dUCIyN/f5jhlSI3XPKA1udEedBVzw2ogDN4tcdA/kiFKPXcpYwvIiVqEsZfwm14Wm 3RkA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530lHkBTGQE0h4CDkoiKCEJEFnQbGe5sCGIOmgBNFTmjGPCfSiRi 5b6QsHCYjrrzxFrqL6I5les= X-Google-Smtp-Source: ABdhPJx8UrEiKUmpIwMoQf3wbIsjXYz+nVhTF3f8MdxOUGPSoaoGDu9PjAcCzjScnmQszBSuZqvtew== X-Received: by 2002:a5d:64c8:0:b0:20c:6969:b277 with SMTP id f8-20020a5d64c8000000b0020c6969b277mr9807775wri.354.1651677262385; Wed, 04 May 2022 08:14:22 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a1c:2747:0:b0:381:80e8:be59 with SMTP id n68-20020a1c2747000000b0038180e8be59ls830239wmn.1.gmail; Wed, 04 May 2022 08:14:18 -0700 (PDT) X-Received: by 2002:a05:600c:b47:b0:394:1200:957b with SMTP id k7-20020a05600c0b4700b003941200957bmr8172614wmr.2.1651677258569; Wed, 04 May 2022 08:14:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651677258; cv=none; d=google.com; s=arc-20160816; b=ZvDq0OyFLsNu+A3mFw1lFkrXUHsp62cDuQvpfIz1kyQSzJJOKGFkmSn3ur8InnqrWr E2cAgNiGn3ZEOBqhx58xcWxY1YK2uag5ZYhkHeLbiKg5pPe8sgGLOOacTSCYpQ6qQHE2 R8hSjtxV5hKV8h+n35NNE7Mdx+2ZUcxxaTetN5h4DmqXbQbwOkel9ZsLNABk185Kgz5t W9NdLJJUMC/sLG6PS2qyQDlvcvM+jbCWc6lBJCys8NbnL1XdfBESeIjszi3tnYAqPAJr I6a7aqeferx6CPWyX2iMf6BvrkhBd127y779kh7EcOGQQ2oTsjNOEsqbT7ANNcldYxp3 kdkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=5tL2NLMjK2Zq7Wg10AfFMd8Zdbac0SbeFOpT9iOGjUk=; b=v05QfLA+57rr1K/5pQ9jYyqpemROIGb03XBpC6i25p48i7Nb9yHengKa4w6eVtnOsT aB04QAR8/PNS3O8Kxy3/QXCnWcuB9POrKwowmTN2KZRba6/w4CMNKqo8qPyAzVcgR8yR GRgRyPPpsgE83S4WpL6HZGsOhAOI4ToHuHXoI4+tYa2wyh2nrsmMx2XHeOvLcURw2lCX JydU7nYcJc/LU5YFHcflnaiHkWf1LuA8pDZ9NAzI9i4SbiDulaGmtME3PLivacxVamnc a/tuZeczoBhqU4UgishoVLUmTOG6VhAL9v/79SDEmnyDV1qXs+JRLb7xlhYeBD3Cr+Gn dfmg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=p6d1OuSg; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::62c as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com. [2a00:1450:4864:20::62c]) by gmr-mx.google.com with ESMTPS id r6-20020a5d6c66000000b0020c71ce1c26si370232wrz.6.2022.05.04.08.14.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 May 2022 08:14:18 -0700 (PDT) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::62c as permitted sender) client-ip=2a00:1450:4864:20::62c; Original-Received: by mail-ej1-x62c.google.com with SMTP id z2so1926601ejj.3 for ; Wed, 04 May 2022 08:14:18 -0700 (PDT) X-Received: by 2002:a17:907:62a6:b0:6ef:8118:d3e2 with SMTP id nd38-20020a17090762a600b006ef8118d3e2mr20363986ejc.605.1651677258121; Wed, 04 May 2022 08:14:18 -0700 (PDT) X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=p6d1OuSg; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::62c as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:30513 Archived-At: --00000000000041060805de31141f Content-Type: text/plain; charset="UTF-8" It occurred to me that it would be nice if `--data-dir` as only option and without any argument would print the default data dir path so that one could use `$(pandoc --data-dir)` to get there. I just wanted to probe the waters whether others think this is utterly silly or not before opening an issue. (I'm aware that you could define a variable in your shell rc file, but doing so on every machine/device[^1] is a hassle.) [^1]: Yes I can run pandoc under Termux on Android. I haven't been able to get LaTeX to work yet, but it's good for work in progress. -- 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/CADAJKhAkX1%2BYaS6ErJv6QAd9zKvRF66cG5qr%3DsxjjXTCZB-mvA%40mail.gmail.com. --00000000000041060805de31141f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It occurred to me that it would be nice if `--data-dir` a= s only option and without any argument would print the default data dir pat= h so that one could use `$(pandoc --data-dir)` to get there. I just wanted = to probe the waters whether others think this is utterly silly or not befor= e opening an issue. (I'm aware that you could define a variable in your= shell rc file, but doing so on every machine/device[^1] is a hassle.)

[^1]: Yes I can run pandoc under T= ermux on Android. I haven't been able to get LaTeX to work yet, but it&= #39;s good for work in progress.

--
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://gro= ups.google.com/d/msgid/pandoc-discuss/CADAJKhAkX1%2BYaS6ErJv6QAd9zKvRF66cG5= qr%3DsxjjXTCZB-mvA%40mail.gmail.com.
--00000000000041060805de31141f--