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=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6426 invoked from network); 26 Jun 2022 01:17:24 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 26 Jun 2022 01:17:24 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1656206244; b=seIEulcb27ja1Z4IXad8yCSBXEkQkCRVUdyUI1Z5ZfrX6NXotTHIXS+ogVFFPw816zLVJ4POof /a4qR3ehmA1BxijC3EAT8WM9zWBkSEZPsUOrHgG20ACbPMX5WMOS0H2hwAn/VgLKnQbcpZPPev ZLtgqIxOx8ww36BidoHBKXmSrvxxbOnXBGsCBb6mcx7YByc8XHopeRZJDYDpTuaCG7FxILWv3Y LBeXYzzMHuJqs3zLYyfJpv9Nbyo6k9Fo+bQUgjwn4GWC/XhFvSj5QNR13RYSXZxc8Vxbwwbgun bNi6yAwvrU8KoP53QUz9Sl1s3gk7/pXK68TmgG7psitnjA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-yw1-f171.google.com) smtp.remote-ip=209.85.128.171; 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=1656206244; bh=w92onNLhPWHI+AVNApw1pmtQK0brSu1Kqj9h6WBgWq8=; 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=Rg4LnwNKmzON4HgdBDwq5jKD5OLePnBXrXgYmSWEpeCZ5FxITBYkzsuNuFIeplBjxJhgLE5iJx wQ+EriNh56shRjKiYsj1MztIiEPjfzdlTaDQkDLcsN/xpbQHzHuSifR4vDPpJ0YSHYc3iAIUDR 7hV22rrzgFmmDIwHiMyKMozgXBIVqKhqbNax+I875JsLa6B+oNEYVBLHf7+89Q8ZDAneQj1Aia hSoBmwLFp0u+hKMTmyga66PGcVHzm0tA+wwvh2Ol0qdSli3xk4twHW45t988i7XykBV5M7z0jy Il4bx2DcpgZAMJcxsl+dnUn+0pkhF6Uju/Q3wS7LaUf+Zg==; 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=f+aftCQqAeIocwUxdgwgvK7YFx+vfqLDzxDwFPG/04w=; b=bgo+e++LrsLaMbi2NZ8VLUc0AC 5eooM9tOlhaE40RJnO+BEQhiNwBUpNFif98hp7IFAuJ4BpgZT6BM32NOmsdcaWtJHtjS52O1NvWlo u/xHcxYXzT99wcGKkjIcN8jHk1X/Jyqs0uUmMRZlgAIBSFF6Pzdi3BF60P1o77A6wZJtZ2cZ9h7FD +EzDvX+zC8p9BjtDhQMmQ2VmGFxwYDWzt0ijgV7SHV93rBlKIzilhkBaPOvDFs8LtooGrA/fY0DyB Z1qwB/yFBT89QLBqrU8hqokqhtkOvVR+0Szd7Ajtkws5N9STIWgLifRtt7BI0TYSnjFyBS/4JHyNM gIFAtfZw==; Received: from authenticated user by zero.zsh.org with local id 1o5Gtv-000GUg-9T; Sun, 26 Jun 2022 01:17:23 +0000 Authentication-Results: zsh.org; iprev=pass (mail-yw1-f171.google.com) smtp.remote-ip=209.85.128.171; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-yw1-f171.google.com ([209.85.128.171]:33595) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1o5Gsv-000Fmo-Jq; Sun, 26 Jun 2022 01:16:21 +0000 Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-317710edb9dso56666757b3.0 for ; Sat, 25 Jun 2022 18:16:21 -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=f+aftCQqAeIocwUxdgwgvK7YFx+vfqLDzxDwFPG/04w=; b=NldI6FJ+L6lakjTKNMXRy+jQgdRoMC02hreEg5IIvQt9F9oy9tKSW6mN33UAcowXba JS58MRMINLChjQqE9jpoe+tQHMT0lw2ctKB0PmIGWIYBMDKapn7MigLhNCLVfaDQf4WL R+Qr6D/GjY1ojI6f9VwvbBF/jLwPEPabtm02GvrWY3Q0Zd1lR7b6MkFI0isUX63oaJAF xbjglJnweffpeQcfRxv10zowoXQYMHvMCFCuoHY3628OoHuuDi+yeQD0CI5XX3vba/Tj gqi8DxnHA1ci9ssPlPUqbNmVT02vehujdBbOcj/8JSABh7Krt5Wzs00HDnI43Xx7EtH6 I8vg== 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=f+aftCQqAeIocwUxdgwgvK7YFx+vfqLDzxDwFPG/04w=; b=mLYBAHk0PrSkeWozfzDKy75yp+CFeetLgdDL8tP36BXp7UR9MaMCGeJEbpi+UBCUHF 1g9PvBqaidZSoCGSS8nbAIWUNE5lfv0sXGqm0A95JvYKIJKz+J4elT8qyBu7pYe5pK8R ippknFqpNhL11gyhNdzE7BaZRhr7g2q04jqH88A8sGpCSoc57sqUQmmvMHnRB57hbFrj m6fFt37GlpyN+TyABaMFslgaypJKw+Q3GmnF71OWF6mXKzr7eaE3Ly8l+xObMhyCLtlC WfpH/wwFZIfpTbz2n+0l4wxX2NP+pmk0hPeD/72jqYkS7Xhmjr200XIvZCsN/eQrNeS4 RciA== X-Gm-Message-State: AJIora9MzHCS3pc4B/CM5FhFuTwTji49zgX2OgRUTgxkXOEVA6Oy3ClE Zdq1y8V+yZT27XYFJKU9E/nsn5KAvSdANdDBZVQNL7G6 X-Google-Smtp-Source: AGRyM1sXE0NY8Ru7eKb65+fcNfTky5hX3mAf2mEjUjbIMm/OQSLj0JFo5qDhgwlCxKGypS6IH3QvkA78o42PiLTvLa4= X-Received: by 2002:a0d:dd81:0:b0:317:cd05:1d94 with SMTP id g123-20020a0ddd81000000b00317cd051d94mr7227994ywe.189.1656206180357; Sat, 25 Jun 2022 18:16:20 -0700 (PDT) MIME-Version: 1.0 Reply-To: linuxtechguy@gmail.com From: Jim Date: Sat, 25 Jun 2022 20:14:42 -0500 Message-ID: Subject: Looking for clarity of the word/term "string" as used in a couple of places in man pages To: zsh Content-Type: multipart/alternative; boundary="0000000000000e1a6405e24f8d4d" X-Seq: 27854 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: --0000000000000e1a6405e24f8d4d Content-Type: text/plain; charset="UTF-8" Hi everyone, I hope I am not reading more into this than was the original intent. The CONDITIONAL EXPRESSIONS '-n string' and '-z string' both allow 'string' to be either a literal string(quoted or not) or a parameter. Parameter Expansion Flags 'r' and 'l' for 'string1' and 'string2' appear only to allow literal strings. And, quotes are considered part of said string. The only special character that I found that works, so far, is a backslash(\). Is this an inconsistent use of the term string, or am I missing something? I was hoping to use a parameter as 'string?' to generate padding, but ended up using a loop instead. Is there any reason why a parameter wouldn't work other than the code not supporting it? Thanks, Jim Murphy --0000000000000e1a6405e24f8d4d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi everyone,

I hope I am not= reading more into this than was the original intent.

<= div>The CONDITIONAL EXPRESSIONS '-n string' and '-z string'= both allow 'string' to be
either a literal string(quoted= or not) or a parameter.

Parameter Expansion Flags= 'r' and 'l' for 'string1' and 'string2' ap= pear only to allow literal
strings. And, quotes are considered pa= rt of said string.=C2=A0 The only special character that
I found = that works, so far, is a backslash(\).

Is this an = inconsistent use of the term string, or am I missing something?
<= br>
I was hoping to use a parameter as 'string?' to gener= ate padding, but ended up using a
loop instead.

Is there any reason why a parameter wouldn't work other than th= e code not supporting it?

Thanks,

Jim Murphy
--0000000000000e1a6405e24f8d4d--