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, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19903 invoked from network); 26 Apr 2022 15:52:09 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 26 Apr 2022 15:52:09 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1650988329; b=F5tUn7vmNLoIfk+/ePGfFMiOg8mbhvAMDCJA3t+PsQ70dWHfTxiRhEi0uWx764AWBv48jXoSqA I501mu9I2iVMBE2ZsgBgu3rPsnNycRiZkppTdHlAYYB63EywAbooeKaEnS3D8F0Z301fbHrBoo Sh+saTNgT1dld2OpaEnn4GNSqUIIlPJztiKPPaEpgiDaDjTdma4WC8PqgqaKiVO9U9PDy0r6pg bPdHACcTW2ZI20N0SFLLK0UGv9NQFHNeus6wk1n3xF2W1l3n7WLmdK/vE6hxZ/GGNS1uKf1zat 9TUQZ58SKm9AJ9vuE1ymjQWdzVIrWB5Z2N/K9f98nLzGRA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-yb1-f177.google.com) smtp.remote-ip=209.85.219.177; 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=1650988329; bh=5W4Sv08UQn5viytRPkIFyX2DTaakjLHzRVL3KZ6o2YA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:Reply-To: MIME-Version:DKIM-Signature:DKIM-Signature; b=RbAJWdRDghVocCFtnUCo1RwqCAvcBpxbgCyOabbexZDHrRCurOzW07+1VD2OTcyea7AP0r84qp RhTRbS0OzznHpB1VUl9DmwL2pGkFj+xpOmBjodpTkhs+EOGgTSUr0VH7FyJfaCebUkl+r3kbA3 9H/R4qeRjHNaMP8FkVwhzo1tUoygTda2sHE2yor2KU/UYipfJtdrmcpAgn+kh/HcnFOG6lt1ew 4ZU6Kq5AAblPFR4rfmafxFuMMTpDKCKBn1Ok4xw2wg/uLdUWXNugcJOBUPQoxB0FXRh6wXgFZp L90cZsmjaRatCcb/1y1QNJZpMIZ56cA7ywlmU/EZ21U/6w==; 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:Reply-To:MIME-Version:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=ykc/1A5KoRGKCDrVqRiqOzZuTn8q9/OcUGIRpqL9wKk=; b=jBQJDnWwKOGSf2lwh6mVo8Xv43 M3OFIGLxb1eksGh4w0fVP1gLC6i/eBetZ0ZlcqUALsRJB5pBa64aZc/ADFt7aTnJ1uAlIs1v6Itjz B3+9JYcm+PcnVZRPS4u3WfvYjmkq7eDb2bNOdMxx4I2QgzKL0PFwNlzLcf+wPbkmrerRgvUUYlPsb U9xnDuUBnEZXygruJ0STHTz6H252Xm+KYxeDoYUzRgPrSoDH8QeyptyTMVyQy4gxhf4BlmD0KZqO8 z62I4wIjN/8qySG1SuhJ9Uw7JO4P/LhkwrcROe4BCpoK1LUG694ss+cN0S/ov8icRHTPKt8H7DMqZ H35EC2dA==; Received: from authenticated user by zero.zsh.org with local id 1njNU1-0001XO-8U; Tue, 26 Apr 2022 15:52:09 +0000 Authentication-Results: zsh.org; iprev=pass (mail-yb1-f177.google.com) smtp.remote-ip=209.85.219.177; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-yb1-f177.google.com ([209.85.219.177]:39445) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1njNTL-0000qA-6W; Tue, 26 Apr 2022 15:51:27 +0000 Received: by mail-yb1-f177.google.com with SMTP id r189so33725579ybr.6 for ; Tue, 26 Apr 2022 08:51:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:reply-to:from:date:message-id:subject:to; bh=ykc/1A5KoRGKCDrVqRiqOzZuTn8q9/OcUGIRpqL9wKk=; b=LIEeg4XQ+XBG3NCTsxy8H47Hdc3k7s8NZC9xBWoAoSOTBqqfBpn7nCIZvqD5shXwYa KWc30eOpwmzVvJcQhVYscjwUvXlijRwechwJtPdcDJtVBsaBKT33OhO6LS2kf0/g5z4B 9PZxt4qkUR25UcFqWah4tiVS9TOBdIQ3r2Z7g2s/yy83NV5mW6sIosPn8I6N5nnTS81r feEbx1H1d9JPzUgWf7GogyqLhB8xZnXi2YVFwFxQ6tshp+zq7quM4A5JJW5wRTy3GH+Y L14xbCYDPmYIFSdzumtPmWT3qw1HzradyssiqioVv78pI5x2zV4XH91Lmc5GUhDlaSsd gDwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=ykc/1A5KoRGKCDrVqRiqOzZuTn8q9/OcUGIRpqL9wKk=; b=UmBl+kGQN2EXv9WdNlYQGEtFaHDfCJGBtOLJMZKpyn9ExTYeY8LFFa2m68/XKtR4+W z+SAbNW80ODZpKzw2xCVvgcN5bJqcEH1w+kxHFBFwHAqtpeXfphXJprvZUU5iIUIRgE4 ujCUfS0iyDqscm07nlbMasr8Vc6Up1Cdc4Onr34XqaGzNa20jS211gtcQBJXTxl8IHfP rsE7Yq89+l8Q0MJapyy1DGzsy/OCK+3otmf8bhCpDnemv6YSx/msZoBM1RtfVTL9OExk aZ9BJLGPvIVC8Ly9iU96CDDhRLrH8sen+qz4Tn/PJD5l7Nhu/HojjvtlZTT1MVEZs/ap 6cnA== X-Gm-Message-State: AOAM533RU7IMi0w7X80jaZ9Hyiwi1Mxry3nfl9y16SJ+KpUKGMYdmi84 qGlWwhBV7d0btzODqAxP8qsW88lUpuGJW0CjS0ciU0C9q7E= X-Google-Smtp-Source: ABdhPJz+MSYuUnQVcwPxv9X3+c7eteqvVe8juBEyxtThnFo//r10AdSHgd3un2oswNYeDLSw2A9HsL30YPdjERmdmDE= X-Received: by 2002:a25:9a41:0:b0:645:49e5:986d with SMTP id r1-20020a259a41000000b0064549e5986dmr21614241ybo.59.1650988285532; Tue, 26 Apr 2022 08:51:25 -0700 (PDT) MIME-Version: 1.0 Reply-To: linuxtechguy@gmail.com From: Jim Date: Tue, 26 Apr 2022 10:49:50 -0500 Message-ID: Subject: I can't explain the following To: zsh Content-Type: multipart/alternative; boundary="000000000000499e6205dd90aa3b" X-Seq: 27700 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: --000000000000499e6205dd90aa3b Content-Type: text/plain; charset="UTF-8" Hi everyone, While working on my .zshenv file I discovered something strange that I can't explain. The changes(still a work in progress) had a glob that took some time to complete and won't be there when I finish. This made it quite noticeable. Everything I was doing in a zsh instance seemed to work normally with one notable exception, that I know of. % less $file # executes .zshenv before outputting content of file If .zshrc has some "test" print statement(s), they are outputs and not the file?? % < $file outputs file and pipes it through less ? I should remember why, anyway! % cat $file outputs content of file as expected % more $file outputs content of file as expected What I can't figure out is why zsh/"less" does what it does. Could someone enlighten me? Is there a way of "tracing" what is happening? BTW "less" is not an alias or function. Distribution: Devuan ZSH_VERSION 5.8 ZSH_PATCHLEVEL debian/5.8-6+deb11u1 LESS='-R -M --shift 5' LESSOPEN='|lesspipe %s' Thanks in advance for any help you can provide. Jim Murphy --000000000000499e6205dd90aa3b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi everyone,

While working o= n my .zshenv file I discovered something strange that I can't explain.<= /div>
The changes(still a work in progress) had a glob that took some t= ime to complete
and won't be there when I finish. This made i= t quite noticeable. Everything I was
doing in a zsh instance seem= ed to work normally with one notable exception, that
I know of.

% less $file=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # ex= ecutes .zshenv before outputting content of file
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 If .zshrc has some "test" print statement(s), the= y are outputs and not the file??

% < $file= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 outputs file and pipes it through less= ? I should remember why, anyway!
% cat $file=C2=A0=C2=A0=C2=A0 o= utputs content of file as expected
% more $file=C2=A0 outputs con= tent of file as expected

What I can't figure o= ut is why zsh/"less" does what it does. Could someone enlighten m= e?
Is there a way of "tracing" what is happening?
BTW "less" is not an alias or function.

Distribution:=C2=A0 Devuan
ZSH_VERSION=C2=A0 5.8
ZSH_PATCHLEVEL debian/5.8-6+deb11u1
LESS=3D'-R -M --sh= ift 5'
LESSOPEN=3D'|lesspipe %s'

=
Thanks in advance for any help you can provide.

Jim Murphy
--000000000000499e6205dd90aa3b--