From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30514 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Default data dir Date: Wed, 04 May 2022 10:28:42 -0700 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19894"; mail-complaints-to="usenet@ciao.gmane.io" To: BPJ , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBTXPZKJQMGQEXHIE7DQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed May 04 19:28:50 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-io1-f59.google.com ([209.85.166.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nmInx-0004wT-Lm for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 04 May 2022 19:28:49 +0200 Original-Received: by mail-io1-f59.google.com with SMTP id t1-20020a056602140100b0065393cc1dc3sf1423279iov.5 for ; Wed, 04 May 2022 10:28:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1651685328; cv=pass; d=google.com; s=arc-20160816; b=f9uVwbF/Sr/flG5oHVlFiYL76BnbuZJ+QXKk+Smi6Hg8S+IaHfEkgFP9HUJ92UOuol lBd1/t8N0KRlDAuNX0q4+2guZqaX93CWiQshNDXzc07L0pt2Luw5TaVDXD0GVKfY1Q0z luAvDF7r0w1nq56iYWa05sjm7BIPF5KZpbuWQ6rhC1dqfrYuMQqyHRuwg67ddjZWJsoQ zxbWPQA6AxL1xNw8hWJebCP67KPS4lHWmyJZVmIWAD95yd8vuykwL2UXfokiIrkwTeif xP9prxHE/Saq8vDZmlQGnA9mnqgiM04HZTwGNCWn8Vpyl9DNGVYFX6Z1OxRRyfbS13aG 7C4A== 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:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=2HgbF/5wNLl+sM5Ox3MV1SnTa3E3OCRZtfC6qY5cdM0=; b=bZs4JsjcYsF4QQVaihdONz67tEqFTASAvTh5OHdZFx36oBPsjkUAvl37Ti0nxmLH9A pJtmSvGcpcYvAOTU5+u/RqXliHv9/lSByy0rs4r38bsu04mf/r//C2kuVy7fXj88wl9U +FN4/BvI6/AWQvMhPd3WArCEB8D2Gq2g7AsWs2fAju9BJ1qJs9spZ6vOqJD5roYWS87e Z6u9eIjBqcFnN71at9a1t2+vndLcAm3O2mOxvXRGD4HZE9dogq/mQafzrZgt/8Q88R+E xihVrsD1B8RnE8bunPp8N61nNFMJm2EK1XwnCZJmzFqsOFEJQ+lRG8Y4QKXfajWXbZb3 qz0g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b="Zmg3Cp/5"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52c as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version: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=2HgbF/5wNLl+sM5Ox3MV1SnTa3E3OCRZtfC6qY5cdM0=; b=lF/xy9UihAbsv6WgmKYNfnwwAa7jfqv9dyOPLu55eHtj0a/hksylvbsOcscqfP4VW9 QLBQIc2Hd/Odp1IZt0ckU4zNZnNZo7oIUiqneuGdzcMXTlFI+cBghf0YmGGPc77m1Nt/ ecbo54EneuYTQ+OWSThfl7k2QXkGgXlrGbdWGnTIqNfXuIQDxWfFIyrKxJBsMQBxZ6ZG w1M4GVjObq5k5dj3dF2sngGROOTZZaDrILOm0LAMpZECMS0shqUfIuJN3nN90QC3EFFm n12inoZlI8tHTq1rwr8u39fMfb3l1ro+UoFDNYei4bepHOKt2W7tB9u1VZyN/tHmohjV EF0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version: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=2HgbF/5wNLl+sM5Ox3MV1SnTa3E3OCRZtfC6qY5cdM0=; b=M3U29M8+787UW77xL7Hmas1/3l8A+cImkEo8m0VOn54Ap6Qsr7m8+joa/MsZFNjzUN maQtOaPufK8Hk09WGdIbv+4a8OoPQjqTyEbNDsEoBM7WY0TG3g9N9IwUg5+oh/jLjoFh Drq+PlNfGFRaZ3Hv6707+niY9mqQkr6FnKd47x4h3Asu9R6Y00z+DQQltMngWAOggUNv X8NC/DQ9L711Gn5P7r6p4RSIWiEKQCwutQ+Q+9Au4gplok9b3BoCJ3SJyGsKzfvSukwD d8KFIv+msGcZWHXBQApIQRrPWL65uzfNyjyqy/hpJ8uzjyO+mbGWfu8AGLGv9RGvdvAk 7fyQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5321grIh1crjMAFbbiIWYrffmhV6B6DI6nLRSgI/Ux19b4JjdRaO zNq6Z6Cbwx9HwZFi9YIBbeg= X-Google-Smtp-Source: ABdhPJyaq4HiEFD4l1hma8vliiG6Kv2GyHUa3QiTfJwgxYJrMUq2kv+On3N76mpBP1j1KvWK1Mm16w== X-Received: by 2002:a92:cda8:0:b0:2cf:3e10:a9f5 with SMTP id g8-20020a92cda8000000b002cf3e10a9f5mr2999029ild.82.1651685328561; Wed, 04 May 2022 10:28:48 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6e02:158c:b0:2b9:7f53:df13 with SMTP id m12-20020a056e02158c00b002b97f53df13ls390100ilu.4.gmail; Wed, 04 May 2022 10:28:46 -0700 (PDT) X-Received: by 2002:a05:6e02:1485:b0:2cd:fa3d:72b9 with SMTP id n5-20020a056e02148500b002cdfa3d72b9mr9015722ilk.247.1651685326107; Wed, 04 May 2022 10:28:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651685326; cv=none; d=google.com; s=arc-20160816; b=noyBZWoXm92wVqHOBifxTEWffbN6U2rPkBSJQLQsvQXe+LF0nD0VHY+KjCp0VWWwXK mmSAbFL4VyO9Pf0I52OU46m8YIN4X6EOnMU+MUaU3hVCROZDzwWG7kDX4aXz6LLNqHfu WWiStVNn9SxXAxp0FucDEU/eoyYIPueADXVb2LaMDXw/h3YMcD39K/rKwpooNrD9eCnU 8+L1sDUEqRKIMoFaPr0sOA6OmFfPEvcnikR9CT7+haG69LEUCxj8mLCMagEU0+xZTusy xyehfZINvdMj0/9WRdStbxBHsqPXhuyTNtSis1C/QdUHrNE7MYMGaR6+HSDeI8YDtSP2 /efQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=MYRUB3/Zv3R03AwDWjfaC/jGdvU7swS0evBJ32JKtyE=; b=g/RuhXIjCiWa9N21dFMGnuHDVom3leAl0Xkji9WjhUhyCOics6WTccjhzWbJ87U5ZX yMVBrZMzGytfGaBTGLG06M3zrmQEl0ooDrRdDhBj/wWNOvupToZeGhW0FnSAbMj0Ua0j b21shgImxTtJhnk0NHuWpc/SAPpL6/YxNENRZ5qoc93rxqZ1Dg52tNXarHPxtP8ciyyh BDLFgb81+uVFidVkbMJ0MZVGPgDXrizvq31M6ENPu8SPB8oddnY2JXEt9C+MNo5bT0a7 /fQAi0T1tvfIalaMkqXuhezd6WqMW7FN1bOdpxpqxjGctjPGWo1NLREsqSvanj2/5xcn 8yEQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b="Zmg3Cp/5"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52c as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com. [2607:f8b0:4864:20::52c]) by gmr-mx.google.com with ESMTPS id t17-20020a02ab91000000b0032b64ddde01si578954jan.3.2022.05.04.10.28.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 May 2022 10:28:46 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52c as permitted sender) client-ip=2607:f8b0:4864:20::52c; Original-Received: by mail-pg1-x52c.google.com with SMTP id i62so1691505pgd.6 for ; Wed, 04 May 2022 10:28:46 -0700 (PDT) X-Received: by 2002:a65:6bc4:0:b0:3c2:2f7c:cc74 with SMTP id e4-20020a656bc4000000b003c22f7ccc74mr12118487pgw.307.1651685325483; Wed, 04 May 2022 10:28:45 -0700 (PDT) Original-Received: from hermes.johnmacfarlane.net ([45.32.92.108]) by smtp.gmail.com with ESMTPSA id 185-20020a6308c2000000b003c5f30bc4b0sm1343107pgi.43.2022.05.04.10.28.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 10:28:44 -0700 (PDT) Original-Received: by hermes.johnmacfarlane.net (sSMTP sendmail emulation); Wed, 04 May 2022 10:28:42 -0700 In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b="Zmg3Cp/5"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52c as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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:30514 Archived-At: You can already do $(pandoc -v | grep "User data directory" | sed -e 's/.*: //') BPJ writes: > 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.