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,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2017 invoked from network); 26 Jun 2022 04:37:11 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 26 Jun 2022 04:37:11 -0000 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:Subject:Cc:To:From:Date: References:In-Reply-To:Message-Id: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=Hz8lGnoT27Kz/mGUJalY8eIay1bb8gUaLnst3RJ/sJk=; b=ZV3plgJ6ELOPs0nDcwIRrEF9ky O+IiGjNYKiZEVj1KUzEmi1Ajyz0P18xRVbUqOJJfgJNAlIDvg4Yk6JPssiEMG9c8tuhd/5jmptqAD FvM6mjQ2PDs8SP/AAt8PSD3ebPG2ZOIeowUWwAKk1xHtxw5EoaRZxCOdTl09vAArNiWppJoaLm2Vi yPpf753r7oqt9qiEmW0T2x9dAB8RJzDDtdUlVemgAiQEIjvNv53aX/l7k7He5mZZk79Z35ZHRnERO e9kZtuPvhDHJCH476rF+DUFxdMyE9bvIssbKcyh/tuMy+U+8/DjGYfsuZ5eb6rsT+5HzmYbd1Gsz/ 49B24ZRw==; Received: from authenticated user by zero.zsh.org with local id 1o5K1F-000NlQ-Oc; Sun, 26 Jun 2022 04:37:09 +0000 Received: from authenticated user by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1o5K0I-000N3f-7k; Sun, 26 Jun 2022 04:36:10 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id BFC1E27C0054; Sun, 26 Jun 2022 00:36:05 -0400 (EDT) Received: from imap48 ([10.202.2.98]) by compute2.internal (MEProxy); Sun, 26 Jun 2022 00:36:05 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudegvddgkeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvvefutgesth dtredtreerjeenucfhrhhomhepnfgrfihrvghntggvpgggvghljoiiqhhuvgiiuceolhgr rhhrhihvseiishhhrdhorhhgqeenucggtffrrghtthgvrhhnpeehfffhueejheeugffgfe euudffledvleegffeuhedvveekueegiedugfelueefteenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlrghrrhihvhdomhgvshhmthhprghuth hhphgvrhhsohhnrghlihhthidqudduhedukeejjedtgedqudduledvjeefkeehqdhlrghr rhihvheppeiishhhrdhorhhgsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: iaa214773:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9054331A0062; Sun, 26 Jun 2022 00:36:05 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-713-g1f035dc716-fm-20220617.001-g1f035dc7 Mime-Version: 1.0 Message-Id: In-Reply-To: References: Date: Sun, 26 Jun 2022 00:35:35 -0400 From: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= To: linuxtechguy@gmail.com Cc: zsh-users@zsh.org Subject: Re: Looking for clarity of the word/term "string" as used in a couple of places in man pages Content-Type: text/plain X-Seq: 27855 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: On Sat, Jun 25, 2022, at 9:14 PM, Jim wrote: > 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? What you're missing is that conditional expressions' "file", "string", and "pattern" arguments are documented to undergo shell expansions, while the arguments of most parameter expansion flags are not. "String" is not a rigorously defined term, so it's not all that useful to get hung up on what it "means". -- vq