From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, NORMAL_HTTP_TO_IP,NUMERIC_HTTP_ADDR,RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21787 invoked from network); 30 Sep 2021 21:04:57 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 30 Sep 2021 21:04:57 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1633035898; b=oDRhH8ssp7nE3+sS1I1/U6qifz5uHxw5OvE7mmYfnrhAsEcPKoBBHF5MYagOaZr9HlN/POIUbS Nvi9/rTIhjKyyg/oGMCNTu14q/GzhZiB/fHNwrPvFylxTFGZoUtzMW7nm5Q3hcEUsZA6JOy3/F 20U7bRaGO6kPy/27NqLdtsU5WjFukqF1RW3X7CshV++8q8MFL2cqNesFPjjbxiE641VZgI9G65 VmrsegByFWYXyzb20jbzhvy/QUh/GfkscAKaCGqj58hhTOMg1LOfFYrQ6Dk7wp+wS0EFlin6Wb T3SCtagTYetAl5Vjy/EzJKiUkph46ad5HolXEygEYaCu2w==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-io1-f51.google.com) smtp.remote-ip=209.85.166.51; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1633035898; bh=Mok6RnSw5Kgl6kfP809pxXmC1OX4LXAta+IPYd+ifYw=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=ePWmlwC0VjiYO/AWfq6Z4bQSnaTIkLRdkam285DAyL23CRxUy28+RyrkU09bzOsqCYpoy3VyIE +CIUk2Wd9kIwC2r0BFqx79ox8vwSvi2qXgKqHlVT4AxlH91GRRUxsIxob5iUODyWxrv329bInk pLfRR08zEedUuCcBSNJR+FnVisrs5cTNZOPRAUV0PC4Ktm4UPQfaXxc+2DFy2BnunnNhZ2cDFr 4v7RJhy4oBvjLjNBxANGENxbbCs7ZK+4ZD55YAjOb96EgvLwqbKj0avlAbI9Fxh4s/QCJRhSW2 ND8CzoNuCJFHNtqJKYnWYSsxrYrOwOsYURXGsobB2oSy6w==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=YXD3yjvA1Gs24Hv4CDE/e6W0wQNfU4XRnRWuea5+FX0=; b=LsvIwhV5Xown0jOQAJmxJqSna8 iVajrGKvtw5tMAcGCXsi0WtgPUKbr0f8hUn9uXTyGVOYrGJazvOKYmVMbtfvlVq2JKWlhjd5Xfm1P cuqNnHmAu0Jf2LPJav5tk5DR1SJan74d9aC+iOmC5a7x1qSGTj1WSk/IHHfAIDShYOIjEZbP+7RPT Ym4Xw1ywq0vzvl5x1b/S9Flam1omNFxrT1dVIMQaYms1SDUfSiWvsjB8X4WAkjSXgqwwWIwdi+Mfv m+mnkrGVSmkcjKcx130xuhXE76f5w5tvxkc2ckt+zSfbgoiZ8/ggm0GoukX5gxhn/XvJntxMQ9FT0 MksfKUqQ==; Received: from authenticated user by zero.zsh.org with local id 1mW3Ef-000Kp9-30; Thu, 30 Sep 2021 21:04:57 +0000 Authentication-Results: zsh.org; iprev=pass (mail-io1-f51.google.com) smtp.remote-ip=209.85.166.51; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-io1-f51.google.com ([209.85.166.51]:33552) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mW3Dj-000K3M-Tf; Thu, 30 Sep 2021 21:04:01 +0000 Received: by mail-io1-f51.google.com with SMTP id n71so9385689iod.0 for ; Thu, 30 Sep 2021 14:03:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=YXD3yjvA1Gs24Hv4CDE/e6W0wQNfU4XRnRWuea5+FX0=; b=aMB9EdPw3KkBXbo4YffERmEhZlmEjYgk9MCdKbGRoA8BmMVFAytWPUeMZ4lC+O8UWh lpvoxOuKHA9ve72j74QPQOZCKPYDwT6EELY7DYcVI9XhNwjw2Qn7s5rZ83FiX+6MsH4W E5+7L5/t1zNEuPRxamQ1pAJzCTWqoRElJBSgzEKB4aPIRMEljb+J9jcAxkFP6DM41a/z 7vNc/O0j1wJ3KABitfEyU2a9SOLo+e/vBi7QG/0xJ2euSlwyAv84xRw7DopL3JiishjF OqPRkwDZx2tepsc42V1e+IUILXYbE254dlBoMUPZVxsljrEnszWTyV+f6VRpm6pAI/gm yZQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=YXD3yjvA1Gs24Hv4CDE/e6W0wQNfU4XRnRWuea5+FX0=; b=IbDVjUndvVmuI0Su7Yt9BiX0iNfzZCsojo8a3/7yuWvk5LPWF5sfgJsiHB0+ft0Q1E 7mKP9+Mn/oBHZPQfG/l6P4uxhc5X6Zw3VEPVqzgWBBG0Bm37cfRiHohUzbAOa8KkAfSZ YNTfOEUfXosoWjwdzgFI5kIJNP5tNByHiSHQcwuWsWfNrc/xeUHZdiKELy7SRLaWQw1i eRxcHT5YxyThWBmM8TbUGQLVrYcZKIMtD0WGS7SE/t1b4Cr8JfVTTDP7I09KsYRbqMW8 mrxoAod0yjkg5W1tIpbM8nhJV8oRuzYTYJm5YIGM5qJyjnRRGLY5Fzc3/uJ52j9dgIEJ X1Dg== X-Gm-Message-State: AOAM531rFY5UAGy7Psb92aYgZ7Wk7IAQQ0RcDz8s6J5ua+I6q+do7L+R dDTcuS2CLl+IW0E/IJQg44HXSnCMurPT72iU6govDa+r X-Google-Smtp-Source: ABdhPJz1wQNc9rJoK2a+ulS5FsP97HD36lCboTpx/+pDMrSuoS+Tna1pEWBYjKZNR/ue+oRP5+E/NVIVmZSWqi3Jz6g= X-Received: by 2002:a5d:8788:: with SMTP id f8mr5250285ion.193.1633035838694; Thu, 30 Sep 2021 14:03:58 -0700 (PDT) MIME-Version: 1.0 References: <20210927233143.GA16620@gmx.de> <20210928185230.GA7495@gmx.de> <20210929130217.GB25513@cventin.lip.ens-lyon.fr> <20210930191706.GA1641202@zira.vinc17.org> <20210930194800.GA15560@gmx.de> In-Reply-To: From: Pier Paolo Grassi Date: Thu, 30 Sep 2021 23:03:21 +0200 Message-ID: Subject: Re: less with subprocess To: dominik.vogt@gmx.de, Zsh-Users List Content-Type: multipart/alternative; boundary="000000000000122a5005cd3cc917" X-Seq: 27189 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: --000000000000122a5005cd3cc917 Content-Type: text/plain; charset="UTF-8" Besides, google have sent me this error message two times: The recipient server did not accept our requests to connect. Learn more at https://support.google.com/mail/answer/7720 [prometheus.u-strasbg.fr 130.79.203.100: FAILED_PRECONDITION: connect error (111): Connection refused] (of course the linked support page is inexistent...) for a mail I tried to send to this thread, here it is again: Date: Tue, 28 Sep 2021 22:10:04 +0200 Subject: Re: quoting words Hello, here is the output: 5.8 a isa array typeset -a omz=( 'the first' 'the last' ) 'the first' 'the last' the result from your script is in fact correct if I assign the "${(@qq)omz}": typeset -a omz=( 'the first' 'the last' ) a="${(@qq)omz}" typeset -p a typeset a='''the first'' ''the last''' regards Pier Paolo Grassi Pier Paolo Grassi Il giorno gio 30 set 2021 alle ore 22:59 Pier Paolo Grassi < pierpaolog@gmail.com> ha scritto: > writing on disk it can eat away all the space I have on my device and make > other processes that need that disk space to fail. Even if disk is cheap > doesn't mean it's always plentifully available > > Pier Paolo Grassi > > > Il giorno gio 30 set 2021 alle ore 21:50 Dominik Vogt > ha scritto: > >> On Thu, Sep 30, 2021 at 09:17:06PM +0200, Vincent Lefevre wrote: >> > There's another major issue: since there is no blocking, this can take >> > much disk space. Thus such a function must not be used in a case one >> > may be interested only in the beginning of the output. >> >> But ... even if you never press "F" in less to read the rest of >> the input it's going to be stored somewhere, either in memory or >> on disk. What's the point in worrying bout temporry disk space? >> >> Ciao >> >> Dominik ^_^ ^_^ >> >> -- >> >> Dominik Vogt >> >> --000000000000122a5005cd3cc917 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Besides, google have sent me this error message two times:=

The re= cipient server did not accept our requests to connect. Learn more at=C2=A0<= /span>https://support.goo= gle.com/mail/answer/7720 [prometheus.u-strasbg.fr=C2=A0130.79.203.100: FAILED_PRECONDITION: conne= ct error (111): Connection refused]

(of course the linked suppo= rt page is=C2=A0inexistent...)

for a mail I tried to sen= d to this thread, here it is again:

Date:=C2=A0Tue, 28 Sep 2021 22:10:04 +0200Subject:=C2=A0Re: quoting words
Hello, = here is the output:

5.8
a isa array
typeset -a omz= =3D( 'the first' 'the last' )
'the first' 't= he last'

the result from your script is in= fact correct if I assign the=C2=A0 "${(@qq)omz}":

=
typeset -a omz=3D( 'the first' 'the last' )
a=3D&qu= ot;${(@qq)omz}"
typeset -p a =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0
typeset a=3D'''the first'' = ''the last'''

regards
=

Pier Paolo Grassi

<= /font>
Pier Paolo Grassi


Il giorno gio 30 set= 2021 alle ore 22:59 Pier Paolo Grassi <pierpaolog@gmail.com> ha scritto:
writing= =C2=A0on disk it can eat away all the space I have on my device and make ot= her processes that need that disk space to fail. Even if disk is cheap does= n't mean it's always plentifully available

Pier Paolo Grassi

<= /div>

Il giorno gio 30 set 2021 alle ore 21:50 Dominik Vogt <dominik.vogt@gmx.de> ha= scritto:
On Thu= , Sep 30, 2021 at 09:17:06PM +0200, Vincent Lefevre wrote:
> There's another major issue: since there is no blocking, this can = take
> much disk space. Thus such a function must not be used in a case one > may be interested only in the beginning of the output.

But ... even if you never press "F" in less to read the rest of the input it's going to be stored somewhere, either in memory or
on disk.=C2=A0 What's the point in worrying bout temporry disk space?
Ciao

Dominik ^_^=C2=A0 ^_^

--

Dominik Vogt

--000000000000122a5005cd3cc917--