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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 32341 invoked from network); 23 Oct 2021 16:56:05 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 23 Oct 2021 16:56:05 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1635008165; b=PesSbxIvhBTrHA8z4GMI226uGJmA/gXPeWP/HDDvhdLBdASZbX30nlOLLk6vTkAgZ2EMKK+r3K 8nArO6f7rrm2hPfnSvnGkGJJXImY+OutLji3EJJ0TvLQuNM5QJXpk7dIsATVPSKBZI8HiJweQ8 4IKxJEiYSWtRvJs8u3hY2x7EnJwEgiIBrWna3ClkNl3ierEEilaFZb1zAWTbAHoKgvLT43OG0f 9OGdQQnCmmcyk0D0uw3Gbyz1MZt0m8pBlxURxiYqeVudoYnz7ISAYpYd7iLqTtuN63mzOVgjzK RDa/5E/6iYUt5NV7Hmai0rXNaqqiMthJQduupehQwHTElQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f47.google.com) smtp.remote-ip=209.85.208.47; dmarc=none header.from=alumni.princeton.edu; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1635008165; bh=K3n3s0wxpkbR9021+1fIwHLIMy0XS/fPwRz6Uaw5l+g=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature; b=h9OP1d1G+RiIuQZ3+Wqw4n0NSwwhDPClJTEArVwkF4rsOMGp4O7uCnXHWdtrkW2rVoFsw+Tg92 ovCQ54/28vjoVwlP0RV6eP1WaRroK7qF75gAqG3BFh1F4LQtbP0DsZhQqvKjdxD1jIS8/wHCSr SFazkByINo6kXdsL7n060/iNR+dtGoVlxStp8J482rF5NnLhDFFidpqJGkFa2HHQYiY4oeIXTW 1pUC1NkCX0iI7gY5PZ3xcjORamuvZm7Sz3SxLv3FmAuB5eXDtV9tgSDuc/IlOvh7T7Yh2wZENQ 3N+R82QTHJgPWHokkVOAyXLVgPiY+wgHOgIt3Kd+d7EWKA==; 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:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=f59Kj2TiNIvTGSiwPomVjq5shikpe72bdqTOaqQcEYU=; b=WulKICjBOrey1/w4RxF/ih6TMs nDqKSKQ+0PHH+hsIYu8mzaKTemsqzeVbb2jQE1z8p4A8NPHPFSE9R6VB/vDFfGJFIajK68TiQAIzR emIKu31/mbRRrkaJmkCvBV+bUf572VovBUXDvJcistGwaeoaVrs9152ZCWtcwiuZjIBzTlttfkdHB oRXoCjb782Tt34GZdwDAT/nFcXildN5qebs5WCRB+N5Hn9YUUdaKyNUvLYdh9glX2h8pE1C86ab2x yhsm944wwbZP8sN6wsQawaj2iUsHIBp1UaOVTvtq/MRItkVzlPB8ZhrSSpv0PotFqbIimo45hvmNY oYnys3lg==; Received: from authenticated user by zero.zsh.org with local id 1meKJQ-000Ox6-Q0; Sat, 23 Oct 2021 16:56:04 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f47.google.com) smtp.remote-ip=209.85.208.47; dmarc=none header.from=alumni.princeton.edu; arc=none Received: from mail-ed1-f47.google.com ([209.85.208.47]:41926) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1meKIT-000OE7-3s; Sat, 23 Oct 2021 16:55:05 +0000 Received: by mail-ed1-f47.google.com with SMTP id l13so2034307edi.8 for ; Sat, 23 Oct 2021 09:55:05 -0700 (PDT) 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:cc; bh=f59Kj2TiNIvTGSiwPomVjq5shikpe72bdqTOaqQcEYU=; b=Om4908Yczkk/SZfLuxOuVyNmKpQ7tD7KqVsgTQpd4mXUMK3RBLv04GwApXZRuQ/D5Y INnYcyeSJDLlm+SGkyitQ/UpzJYDnMd4xZk35L09LSV6rE7czdOtQ4vrWfrMP/Y+/iz8 w0x3NlTHMa2yziUSNa4WizAxsCRzU6JbRxUY0o8HqBE1Ow1rPah+x7Gd98fiHmoiQpJK E42RxJvoaGrpuzpuJKDJHnX7Tt2VPabTTT6EL8Fp6PAAZKFE89cIFd+1sigjXk6pfB+5 6FS7mPBe8svynqZdOtNi3H/XkDzu4XaaFsBFCjiwfTL7pTzcKXlN/HBlPj7dBTuvV+zb pYPA== X-Gm-Message-State: AOAM532t/DnogIeY7QKQfTuqiigz19XL+21nqizQ2rV/bjXgFeRwSWma JkDbCwYgJsIdU38pRww2ORKXFDhZMvZkouAgdXwNj8A5 X-Google-Smtp-Source: ABdhPJxsXSuUH6dI/phu14+BsK/xzONDC6irkP4pgH7z2nr+aSkxmBqmeesj5y/p6+pcOy1QW5unHpBneYYSz8m+iRs= X-Received: by 2002:a05:6402:2031:: with SMTP id ay17mr10566377edb.240.1635008104732; Sat, 23 Oct 2021 09:55:04 -0700 (PDT) MIME-Version: 1.0 References: <0d6783ad-3a6a-2e1b-4861-c91dad792223@rayninfo.co.uk> In-Reply-To: <0d6783ad-3a6a-2e1b-4861-c91dad792223@rayninfo.co.uk> From: Vin Shelton Date: Sat, 23 Oct 2021 12:54:28 -0400 Message-ID: Subject: Re: Most Recent File To: david rayner Cc: Zsh-Users List Content-Type: multipart/alternative; boundary="000000000000499cb305cf07fdf6" X-Seq: 27268 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: --000000000000499cb305cf07fdf6 Content-Type: text/plain; charset="UTF-8" Yes, but the spaces aren't quoted, so the output can't be used in another command. On Sat, Oct 23, 2021 at 12:48 PM david rayner wrote: > > On 23/10/2021 17:15, Vin Shelton wrote: > > print -l -- *(-om[1,1]) > > > works for me? > > > touch sue\ jane.txt > > print -l -- *(-om[1,1]) > > sue jane.txt > > > also > > ls -l *(.om[1]) > > -rw-rw-r-- 1 david david 0 Oct 23 17:45 'sue jane.txt' > > zzapper > --000000000000499cb305cf07fdf6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, but the spaces=C2=A0aren't quoted, = so the output can't be used in another command.

On Sat, Oct 23, 20= 21 at 12:48 PM david rayner <dav= id@rayninfo.co.uk> wrote:
=20 =20 =20


On 23/10/2021 17:15, Vin Shelton wrote:
=C2=A0 print -l -- *(-om[1= ,1])


works for me?


touch sue\ jane.txt

print -l -- *(-om[1,1])

sue jane.txt


also

ls -l *(.om[1])

-rw-rw-r-- 1 david david 0 Oct 23 17:45 'sue jane.txt'

zzapper

--000000000000499cb305cf07fdf6--