From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30615 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Output filename same as input filename, how? Date: Wed, 25 May 2022 09:40:18 -0700 Message-ID: References: <8fd0feba-d7b4-4619-b18c-aa455a45efc5n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21600"; mail-complaints-to="usenet@ciao.gmane.io" To: =?utf-8?Q?'tEd=C3=B6r?= - =?utf-8?Q?Hofst=C3=A4dter_Kriszti=C3=A1n'?= via pandoc-discuss , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB6FXXGKAMGQEIR7Z2II-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed May 25 18:40:27 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yb1-f192.google.com ([209.85.219.192]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ntu3f-0005Rt-R9 for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 25 May 2022 18:40:27 +0200 Original-Received: by mail-yb1-f192.google.com with SMTP id e195-20020a25e7cc000000b0065343cb6c39sf4528216ybh.6 for ; Wed, 25 May 2022 09:40:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1653496826; cv=pass; d=google.com; s=arc-20160816; b=n7KtWlugQWSbbM637cb4FzpBwz4j4i5TLtOd8BuUpu9SQ9WJ/OxO8xAiMIAsLwQSm1 HDfbLjDsjNdeRVmcLsV9O1nwzmHuOsh08XpjqgehW1cukkj0G58kpgpoUHgdltDHjj3D QeeaVKrdfIj09Tp6CQpyzwkuhyjGQgkKVjKUlne4jBaoHZy4a72UncaOD2Epb6NFbu1n ZAuOy4s68O0lMDJKp3Ff6lOJQBissQkdgzlv8Wo4mmtv0CBJwJtpR6U1qbUUlmI82t3g 94lJuP4lzWja33zlkwSIlU5yWiJTdiCTnSTqXNHh8vGQViYC8jmzJGF8DEnwnTWZZ+3m Sdrg== 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:content-transfer-encoding :mime-version:message-id:date:references:in-reply-to:subject:to:from :sender:dkim-signature; bh=8U4ZUQq1ySf4KZsSebpXZLQLpoPS9MWeqj20KtEeM3Y=; b=tCFbVudSBZwslhgqGTloqmmFMfXicUwbKGzlXMgtopoHTI5VEsp1+wyvzDZLTZQYoq LhdXKRP0ylldina1kgM+VkOKrg+E/HeTYqjgqBCD9f3Cewyc3VUR8xo0K30d6/dS42PQ 4caFWTzUZ5sx7LcjF0eXX/0Z0RU8Hl4vHCVpt/RjJIPoX0AaQWls3RxQznpj8GMvY9QP smKwGDWv9esiFfdCeiz9ZrghSZq0vBcEWTf/Z46wGNZtAgI3rxKGWvZcUpshs5ZRzZgG +327QHcvR77vpJhe9uBbRnp3ktY1vcXQlL/MyTjzb4VGN3FOrJOTvnBn1GyoqAIdNMel V3dA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=pTIBidGM; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102d as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=berkeley.edu 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:content-transfer-encoding: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=8U4ZUQq1ySf4KZsSebpXZLQLpoPS9MWeqj20KtEeM3Y=; b=XkXb8RI9kFNhQW+f8g3MQakaFWdWtepH015Avdp1ss3Ra/CU0q4a4vM9dywh2j7u+I qS/sun0DEEIuCFn5AdY7HC93fDp42rxkPHV1P+gYJOFJRNIPVfi0MkBRZD3AMxpM+2SY tJGBqZSJ8aI/9L/phrRnkGE6iflcexFxwDaIwe80BKXZkmgmhh0vDPSSBZfSrw4r8+NW O5PN6wMylO35S2pCvNOzoEWRyx9qpeAKcPAir6pUHIAjSNXvUOYIlM4JWHKD+0OvGIld SlzROWT7eottq8rfgiidXmKjaf/5EI6rB+Db5tKby4y7+xagEaJOyPSJ6iH3HuCrDmdy 2EtQ== 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:content-transfer-encoding :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=8U4ZUQq1ySf4KZsSebpXZLQLpoPS9MWeqj20KtEeM3Y=; b=IFh/9vwRg8IWkiEbVirQkZ+eXE/2L38XcqxujhhQkDPSF87ttHaMD/U7YBL1GYdiYw u7r35uO61dNvOdR86515w9/EGL0IVUXdjQsLWgqWe4RB6Wh4ciP0+FV009v8vj+Y/o9D MH0/d9B9Y03IiiJfSvHHAkAQwK22lUd1GQa/1amo0y4FpSf/ebn4dQw5FhIBmkqZt6vf zft3akRqYDkYOJO3W2UZRIIzrb1ypI6ojUw9T2/Mt4x2mNcdF7pgbt8X+XA3M0/RTWA4 E+//cCLgFO5+eLHrzrmBsHRgLNswC86KaycOaAzpbkICcunrX2TCtaBySo4NX+Q5LsKB Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5322c+4g8RjCjgcq9l0ZtroxsdCGITRfyTU0b1vShBhuri+nxTGC 4XaGXOZnRI3ZCGz5KY29wEo= X-Google-Smtp-Source: ABdhPJwA7xFvgM+TS6CqfxL8NvaqebMemjj8fuzbMre0dsrbsCiK7X5Va9wEa6YEH2mY6CxvTBxx1w== X-Received: by 2002:a0d:cb11:0:b0:300:41de:35e8 with SMTP id n17-20020a0dcb11000000b0030041de35e8mr6925820ywd.516.1653496826816; Wed, 25 May 2022 09:40:26 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:690c:8:b0:2fb:9ad1:d84b with SMTP id bc8-20020a05690c000800b002fb9ad1d84bls9556386ywb.5.gmail; Wed, 25 May 2022 09:40:24 -0700 (PDT) X-Received: by 2002:a0d:da46:0:b0:300:3464:7897 with SMTP id c67-20020a0dda46000000b0030034647897mr7778993ywe.253.1653496824545; Wed, 25 May 2022 09:40:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653496824; cv=none; d=google.com; s=arc-20160816; b=hnVx08WCztBXRvGOMKUF02W6+g4B5+2OmdttwHEUtaMIAM00lvXTOKTSezfwboNDem 3gLy1DqG4bILtQqX5cDgthELgfyYS+9h5NDyJI+8Cv5H4BSrXyRVUov5o7p7rhNBvO5s X8VsjBsp7xNAGARL30iH7uYvIIaiEw8edrzoToF7f321KiaQsgEhR6ex3RHmswapLvp0 AhsbBbOQFwPe9w1y6e2LZmFa9I1q8qmkApJRiqFqp6GA8itpmup8wJhHJtEsKRfMXurM FKhu8dpRUBiXnikclmUoK0O642He467zZZG8aED91NPGat5WcRrR7B1gxgxtvr2vePPB cndw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:dkim-signature; bh=rsTEdTpMZJYZ3ql2SF8K/pB151aoMP3i7a9F8l7e6V0=; b=Bvs4nuhRqRl/jEIsP9ZcoIsCuwPOF1MpaaWMj3ZBvrpfhMqh3x+BnxJKit6HUEdbPZ Sc9L8baGgvJEUqIych08tUmvdnAY8Pbk1ICLEB1RHoLQQtBT9BuTqWj+E7tqHJ5/K6kF 9ie/HLTPOZsak36LQ1ohpSOoDiH9sFRlVZDuDbPsZ6CGlHELWqczaLzjWNWr3+XyRwyV 9MoxQVLOBct41B8u1x7CBbBuTpkyhOw/Bn1M/MUV4AWQxLS1Xyr5XILNAYMWmXjjP5ai 1FdvlVmjW/CuWx6NVDfIrU3ZXYloxTGe1HZSh4rwgCskTaOffa7Ydsel+OkUm99yTxVy 6tng== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=pTIBidGM; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102d as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=berkeley.edu Original-Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com. [2607:f8b0:4864:20::102d]) by gmr-mx.google.com with ESMTPS id 63-20020a810b42000000b002ff3ce22b91si217854ywl.4.2022.05.25.09.40.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 May 2022 09:40:24 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102d as permitted sender) client-ip=2607:f8b0:4864:20::102d; Original-Received: by mail-pj1-x102d.google.com with SMTP id ob14-20020a17090b390e00b001dff2a43f8cso4103279pjb.1 for ; Wed, 25 May 2022 09:40:24 -0700 (PDT) X-Received: by 2002:a17:90b:388c:b0:1df:cb4b:3e72 with SMTP id mu12-20020a17090b388c00b001dfcb4b3e72mr11773549pjb.130.1653496822753; Wed, 25 May 2022 09:40:22 -0700 (PDT) Original-Received: from hermes.johnmacfarlane.net ([45.32.92.108]) by smtp.gmail.com with ESMTPSA id v13-20020a17090331cd00b0015ea4173bd6sm9464266ple.195.2022.05.25.09.40.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 May 2022 09:40:20 -0700 (PDT) Original-Received: by hermes.johnmacfarlane.net (sSMTP sendmail emulation); Wed, 25 May 2022 09:40:18 -0700 In-Reply-To: <8fd0feba-d7b4-4619-b18c-aa455a45efc5n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 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=pTIBidGM; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102d as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=berkeley.edu 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:30615 Archived-At: This is a job for shell scripting. 'tEd=C3=B6r - Hofst=C3=A4dter Kriszti=C3=A1n' via pandoc-discuss writes: > Hello! > > How could I output a file with the same name as the input filename, but= =20 > only the extension changing from .md to .pdf > > Currently I use this > > pandoc 03-2-litrev-nft.md -o myOutput.pdf --resource-path=3D../assets/img= /=20 > --citeproc > > Would be nice to have something where the output filename would=20 > automatically mimic the input filename e.g.=20 > > pandoc 03-2-litrev-nft.md -o 'inputfilename'.pdf=20 > --resource-path=3D../assets/img/ --citeproc > > Thanks! k > > --=20 > 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/msgi= d/pandoc-discuss/8fd0feba-d7b4-4619-b18c-aa455a45efc5n%40googlegroups.com. --=20 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 e= mail 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/m2mtf5in0t.fsf%40MacBook-Pro-2.hsd1.ca.comcast.net.