From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32993 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: Pandoc 3.1.2 does not expand file names correctly Date: Thu, 27 Jul 2023 12:36:31 +0200 Message-ID: References: <2b0984b1-a157-eb8a-0e1e-8f10c4d8473e@meddatainc.com> <63A5017C-517E-4202-8360-23F1C06B30BF@gmail.com> <61856054-B9CF-4BA3-B541-803C0DF78D00@meddatainc.com> <62484f9c-7ab2-f8f4-f1d6-31bd8fc4bde8@meddatainc.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002a08680601758ab0" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13518"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBOURRGTAMGQE3IM33II-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jul 27 12:36:47 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qv1-f63.google.com ([209.85.219.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qOyMP-0003Ht-Qi for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 27 Jul 2023 12:36:45 +0200 Original-Received: by mail-qv1-f63.google.com with SMTP id 6a1803df08f44-63d10be64c8sf9525946d6.1 for ; Thu, 27 Jul 2023 03:36:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1690454205; cv=pass; d=google.com; s=arc-20160816; b=J96Xi6Y9a2mXU/PitVrUGmUe4kcy+o7lMdPUlP9OhhrpNYISHC97OAMFZCe9IXn2fr B3/iQHTEYYgLnWDfFSH05YK1I0GRb8mg+sNTwZ8McKvndmFKgkwjUMgOvOf+Y3gwtcCL +Xtr5e8hlHspehIgbKKg8/dZ8rzw/+r/R5kefzi3BEMQrgsE4JkAcey5jQ9dTOGKpLpl q6J/FOymG/ZvsE2Wn3EFeueDV+I+wRc+Lu5805DxjQgtspBFuNzKCAvO4otpuktlpH41 8KymxGEUkUp9DBgA1LAGvHRP6X8Be01MHPLUPQoNkwCKeea9MH4mcypQl3Y+RwjRcEwM /PFQ== 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:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=J6KVq9FEr6dv9/7UBTd2U97OMfhnIlqsZ30K+v/Tht0=; fh=7hVwPa9wYt5eiBYfSHHLDYQlAmXCnXdxB8L+IfejXog=; b=mxY4QVg99U1nzNugqYr/5qwx2DLc3n2yxyUMUc70xczV8cYyFpvsC4Fn2epaWZs85l GyMeEFrpLhC9qwZMQCnYcAk1ppg6Wq/1GAvfG5xKphVUUz+CztGvfgGSDfOQ/zarzGie fpLXelEhCgMAZYnplHUZKnfZ/PvcSOQttgeA0+O5JvzIc6F6wdS5JlUHrYv3iJ5+QFlJ jIBcNRg7CGEOZ/WJ/JkF3NL+D9A0B9i76fn3N+oxYDKaBu01BEjVxwTKRKTMJR3KCqcR Gas2D6TQpeqKY4YXEo67AAkuFqj/xyvFKOy9PqO17KhKxtj3F7fSAZXrnECPoi+jEMdb 09TQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=GIqEWcIh; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::b35 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=20221208; t=1690454205; x=1691059005; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:sender :from:to:cc:subject:date:message-id:reply-to; bh=J6KVq9FEr6dv9/7UBTd2U97OMfhnIlqsZ30K+v/Tht0=; b=IvNo1jQalLugMg9ugW5iWc7KlzN9yuGBZ9iNC5oZSV5QkJKvFi07FqS8QbG2N7YKdH jRK4HEXWaDrOS1b1r4c5/1X9qCGHISoQPTTl1ybrph2CWls2xHp1FpwKwj1th6KPsFzr pkzped58F3ahsDymSVOz2J6VHmeZQfjh2OopHMj2FR5aXDzzi7c9s8rMBKHor9EeQ6eY YLXxAIfJdsgdhktFdN26fKZNMj34TzYNlFXanzumZzeJutaZwlZ8FgrdyEm4NAfOwVpF 7AJYjbsrmM9N389bqMtYZ2/Q1wWb+xXP2aS0g8TMwcwzbpZrf4xvTL7DayLLtPKIkdyt DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690454205; x=1691059005; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:from:to:cc :subject:date:message-id:reply-to; bh=J6KVq9FEr6dv9/7UBTd2U97OMfhnIlqsZ30K+v/Tht0=; b=fxIKL9tYf0HUMze6RBLV9YXFAurBX0Wz4LHcNtAt23t52zC6RuNo1UhNAWC2tPQgCe pHLmYqp+A18UZUq7dPPsmBG5GsE+/F8cfapDhznXgR1D5i0mxMdKEeq0/HLRXYHFsLFd YfTEJ4XlKgi1L9R1JzScHfryBUd/Kqj58FwJcscSewpvrr5At3kLtsS28vVnAW5fZsd4 wmDp7/NC/00b1su+Q2/NVoQmCCWsPRPXm1GamfAn2V/StVWELEGeq5x27DKsQGQsj6KM Kzeefx7LwsONFF+i95C5WqV8k/C6pUpSN0yY5Fz5BBoaLoasmdJxDph9pVdHd1hqis1H FC7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690454205; x=1691059005; 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-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=J6KVq9FEr6dv9/7UBTd2U97OMfhnIlqsZ30K+v/Tht0=; b=IAPa3uvYbFnsJVj30qBbpbaHk95m650jItd6xXINnOWBNPPmWaAsCvvzaqX6sEBPhM yz/8XyVKskbZgvkEjzVjh2aTEJopBT0m1sBIwgV/P61PJKPzn2d5WgAcfAfH1HGT1sB/ SAE8+HLFYK/X8b9tHiuXCeWXA27atu8LFnq2V+ghhhtze1niHpcQAz1U9eQVDybCsmEH 4leoETqb7q4jXyEHCcUuQrITZP1lWPHX8Z65Ux+Fup59ENFUNuElnsJyqXRLBMmGmEa4 bfjlYm Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ABy/qLYztSb1SCLweQL2DZnn8hiog0XugyBEqmky+ovGqQbcgQ+9u5tY Giq/eVDMUNQxvosSwRtptUY= X-Google-Smtp-Source: APBJJlEvwRNKNp4v0zL0cFrwCeWBeYF0Wmtu6F4xchKVdUHLi0GSBINOLYQ3YrP/381TY+II7Z/UIQ== X-Received: by 2002:a0c:e10a:0:b0:63c:f0e2:2b37 with SMTP id w10-20020a0ce10a000000b0063cf0e22b37mr4250802qvk.64.1690454204799; Thu, 27 Jul 2023 03:36:44 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a0c:e3d2:0:b0:635:e8a7:8831 with SMTP id e18-20020a0ce3d2000000b00635e8a78831ls357855qvl.2.-pod-prod-05-us; Thu, 27 Jul 2023 03:36:41 -0700 (PDT) X-Received: by 2002:a05:620a:46a7:b0:76a:ee44:8550 with SMTP id bq39-20020a05620a46a700b0076aee448550mr5973089qkb.29.1690454201698; Thu, 27 Jul 2023 03:36:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690454201; cv=none; d=google.com; s=arc-20160816; b=TbH2+cHI2mtOxVZMCGmQvx//P+g9ARAS8BGTe9nLHanvgO7CDnAAbue6ZhNSu8O0xH TJK1wMV6hkWaEzNjZLe/7nBIwFBFFvi0WXSMq0pJQtcX+x+e/hi7AUnqfeQVOsV8pG/B Bq1y52yaMNJsLMqWINkMUxDnQeW3cfSJ8IoYDFR+rtCjKwiL3H96sUH2ise6w1vDBu5W PhRTz17xspyNLc6Sj8o3t4hRoCsr2s6LjiJxfeOeWE3jtPM0lasKhb+auGC/4MOf7nDQ Z+2CKKeiYnax04a3zTLBGfh2v26BL4tac9WjgCUExZP6zbekB2UlepdPerwom1WSMJ9/ WidA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=5rQZ5tufDU9ZM/UXKyADAyHP6hnDh/oXAg3iOq87moM=; fh=7hVwPa9wYt5eiBYfSHHLDYQlAmXCnXdxB8L+IfejXog=; b=E2Gg6J0B15dP2am+ttXqOaI9vVFKIrQaVwtgxGjwPaiGe7ssG++UXqco3FPSbgHhh/ W/Xp79Gms0JBE9l5TZ6uP8bBgwDpPrVhHdlyz4TigF1Fz+Qye0WVmn7oPGfd7WHoW2KG sSDtGEkqmVPOoGJ7HA070KKEYwhxS1pbBILaYe/zs2DmxtwHaXoxkCeA9DVCcYV/vTb/ dO4OBIuLU5UrltoJoFXhLcuvlAK7m8uXRvz7ox3DtweH/rDDvsQzXsR3b6mHjsMvsI1i zA7e7r5kBMWfNnbBLxomrovDWkZVRHuHR/z/FbHC1aE+l3yfER7v9XiVgVddBw4JQ811 tV2g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=GIqEWcIh; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::b35 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-yb1-xb35.google.com (mail-yb1-xb35.google.com. [2607:f8b0:4864:20::b35]) by gmr-mx.google.com with ESMTPS id bi1-20020a05620a318100b0076821b38450si54352qkb.2.2023.07.27.03.36.41 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Jul 2023 03:36:41 -0700 (PDT) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::b35 as permitted sender) client-ip=2607:f8b0:4864:20::b35; Original-Received: by mail-yb1-xb35.google.com with SMTP id 3f1490d57ef6-d18566dc0c1so737506276.0 for ; Thu, 27 Jul 2023 03:36:41 -0700 (PDT) X-Received: by 2002:a25:2d1a:0:b0:d0e:b5c8:6359 with SMTP id t26-20020a252d1a000000b00d0eb5c86359mr3954003ybt.55.1690454201074; Thu, 27 Jul 2023 03:36:41 -0700 (PDT) In-Reply-To: <62484f9c-7ab2-f8f4-f1d6-31bd8fc4bde8-FcZObrvlYduBUy7/sJONFg@public.gmane.org> X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=GIqEWcIh; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::b35 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:32993 Archived-At: --0000000000002a08680601758ab0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The safest practice is in any case not to use non-ASCII characters (nor spaces) in file names, since above-ASCII characters are not portable between encodings, and different operating systems may use different encodings. If you are interested I have a Perl script which does its best to customizably 'transliterate' filenames between other encodings (UTF-8 by default) and ASCII, and rename files, adding a unique number in case of conflicts in the resulting names. It can also create or add to a YAML file mapping between transliterated names and original names, and has a mode for 'reverting' names. It does by default back up files under their original files into a directory of your choice (by default 'renamed-TIMESTAMP' in the current directory.) /bpj Den ons 26 juli 2023 02:03H skrev: > On 07/18/2023 10:08 PM, H wrote: > > On July 18, 2023 10:06:41 PM EDT, H wrote: > >> On July 18, 2023 7:22:40 PM EDT, John MacFarlane > >> wrote: > >>> I'm not sure what you mean by "expand file names." > >>> Are you talking about tab-completion? That is not done by pandoc but > >>> by the shell. > >>> > >>>> On Jul 18, 2023, at 3:49 PM, H wrote: > >>>> > >>>> Running 3.1.2 on CentOS7 and found that the CLI does not expand file > >>> names correctly. It fails to expand file names containing '=C3=A4' - > >>> possibly others as well that I have not tested. > >>>> Is this a known bug? > >>>> > >>>> -- > >>>> 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/2b0984b1-a157-eb8a-0e1e-= 8f10c4d8473e%40meddatainc.com > . > >> Yes, you are correct, tab-completion. It works correctly outside > >> pandoc. > > Let me double-check tomorrow to make sure. > > I had reason to use pandoc again today and could verify that when a > filename contains '=C3=A4' tab-completion works when used /ahead/ of this > character but not when used /after/ the character /up until '_' occurs in > the filename/. > > ls -al works correctly even when pandoc fails above. > > Can anyone else confirm problems with tab-completion? > > -- > 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/62484f9c-7ab2-f8f4-f1d6-= 31bd8fc4bde8%40meddatainc.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/CADAJKhBmdnJc7J3803mV3dq-Acng_sQ%2B%2BnGwoKX09LVWHYgMEQ%40ma= il.gmail.com. --0000000000002a08680601758ab0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The safest practice is in any case not to use non-ASCII c= haracters (nor spaces) in file names, since above-ASCII characters are not = portable between encodings, and different operating systems may use differe= nt encodings. If you are interested I have a Perl script which does its bes= t to customizably 'transliterate' filenames between other encodings= (UTF-8 by default) and ASCII, and rename files, adding a unique number in = case of conflicts in the resulting names. It can also create or add to a YA= ML file mapping between transliterated names and original names, and has a = mode for 'reverting' names. It does by default back up files under = their original files into a directory of your choice (by default 'renam= ed-TIMESTAMP' in the current directory.)

/bpj

Den ons 26 juli 2023 02:03H <agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org> skrev:
On 07/18/2023 10:08 PM, H wrote:
> On July 18, 2023 10:06:41 PM EDT, H <agents-FcZObrvlYduBUy7/sJONFg@public.gmane.org&g= t; wrote:
>> On July 18, 2023 7:22:40 PM EDT, John MacFarlane
>> <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>> I'm not sure what you mean by "expand file names.&quo= t;
>>> Are you talking about tab-completion?=C2=A0 That is not done b= y pandoc but
>>> by the shell.
>>>
>>>> On Jul 18, 2023, at 3:49 PM, H <agents-FcZObrvlYdvpt9ke8boEgA@public.gmane.org= m> wrote:
>>>>
>>>> Running 3.1.2 on CentOS7 and found that the CLI does not e= xpand file
>>> names correctly. It fails to expand file names containing '= ;=C3=A4' -
>>> possibly others as well that I have not tested.
>>>> Is this a known bug?
>>>>
>>>> --
>>>> You received this message because you are subscribed to th= e Google
>>> Groups "pandoc-discuss" group.
>>>> To unsubscribe from this group and stop receiving emails f= rom it,
>>> send an email to pandoc-discuss+uns= ubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/pandoc-discuss/= 2b0984b1-a157-eb8a-0e1e-8f10c4d8473e%40meddatainc.com.
>> Yes, you are correct, tab-completion. It works correctly outside >> pandoc.
> Let me double-check tomorrow to make sure.

I had reason to use pandoc again today and could verify that when a filenam= e contains '=C3=A4' tab-completion works when used /ahead/ of this = character but not when used /after/ the character /up until '_' occ= urs in the filename/.

ls -al works correctly even when pandoc fails above.

Can anyone else confirm problems with tab-completion?

--
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 pandoc-discuss+unsubscribe@googlegroups.= com.
To view this discussion on the web visit https://groups.google= .com/d/msgid/pandoc-discuss/62484f9c-7ab2-f8f4-f1d6-31bd8fc4bde8%40meddatai= nc.com.

--
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/CADAJKhBmdnJc7J3803mV3dq-Acng_sQ%2B%2= BnGwoKX09LVWHYgMEQ%40mail.gmail.com.
--0000000000002a08680601758ab0--