🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #247

Re: Bash: check if a value is into an array

#247
From: tomas
Date: Thu, 22 Oct 2026 13:00
37 lines
2695 bytes
--qtqD/t18Z+KINUuU
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 22, 2026 at 08:02:58AM -0400, Greg Wooledge wrote:

[...]

> Both "unset IFS" and "IFS=3D$OLDIFS" make assumptions that are not going
> to be true universally [...]

Greg,

as someone who writes occasionaly shell, and has been doing
that for longer he'd like to admit, I want to thank your for
your posts: always informative, precise, and a pleasure to
read.

There, had to be said.

Cheers
--=20
t

--qtqD/t18Z+KINUuU
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCatoGdAAKCRAFyCz1etHa
RmnTAJsHzrknjkIhrYmjGRhZS7BVrT4pcwCfWC5BdMAakJm5kAc9+wQqGfnnQGM=
=VXDB
-----END PGP SIGNATURE-----

--qtqD/t18Z+KINUuU--
Technical Details
Message-ID: <NR0yJ-7brD-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
References: <NQFND-6ZMU-9@gated-at.bofh.it> <NQG6Z-703J-7@gated-at.bofh.it> <NQXhv-79Iz-9@gated-at.bofh.it> <NQZMl-7b7x-9@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: <tomas@tuxteam.de>
Newsgroups: linux.debian.user
Subject: Re: Bash: check if a value is into an array
Date: Thu, 22 Oct 2026 15:00:01 +0200
Message-ID: <NR0yJ-7brD-3@gated-at.bofh.it>
References: <NQFND-6ZMU-9@gated-at.bofh.it> <NQG6Z-703J-7@gated-at.bofh.it> <NQXhv-79Iz-9@gated-at.bofh.it> <NQZMl-7b7x-9@gated-at.bofh.it>
X-Original-To: debian-user@lists.debian.org
X-Mailbox-Line: From debian-user-request@lists.debian.org  Thu Oct 22 12:50:18 2026
Old-Return-Path: <tomas@tuxteam.de>
X-Amavis-Spam-Status: No, score=-2.1 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 DKIM_VALID_EF=-0.1] autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -4.6
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="qtqD/t18Z+KINUuU"
Content-Disposition: inline
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832555
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/atoGe82G0H++4PCh@tuxteam.de
Approved: robomod@news.nic.it
Lines: 37
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 22 Oct 2026 14:50:03 +0200
X-Original-Message-ID: <atoGe82G0H++4PCh@tuxteam.de>
X-Original-References: <fb4588c5-2637-4714-81e6-791a9260afbd@gmail.com>
 <20261021150743.GA21484@wooledge.org>
 <877bjaxf54.fsf@verdier.net>
 <20261022120258.GD28455@wooledge.org>