🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #553

Re: escaping with \ in shells (was: beeps and other sounds)

#553
From: tomas
Date: Mon, 16 Nov 2026 16:40
43 lines
3444 bytes
--2O4XV2m64gq34JEt
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Nov 16, 2026 at 11:18:26AM -0500, Greg Wooledge wrote:
> On Mon, Nov 16, 2026 at 16:53:02 +0100, tomas@tuxteam.de wrote:
> > (FWIW, I'd bet that most "modern" shells aren't that far away from
> > bash. Perhaps excepting the $'\<foo>' notation.
>=20
> That quoting form is actually specified in the current POSIX standard:
> <https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.htm=
l#tag_19_02_04>
>=20
> Many /bin/sh implementations won't have caught up yet, though.  That
> standard is only 2 years old.

Aha. I  checked and can confirm that dash hasn't caught up yet.

> If you're looking for bash features that POSIX doesn't have, there are
> plenty more, such as arrays, associative arrays, process substitutions,
> and so on.

No, I was rather looking at quoting/escaping, trying to not veer off too
far from $SUBJECT ;-)

Cheers
--=20
t
>=20

--2O4XV2m64gq34JEt
Content-Type: application/pgp-signature; name="signature.asc"

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

iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCavsw5wAKCRAFyCz1etHa
RoeDAJ9ai2Hny4AeINZNdF/IrD4BwSXpVgCdFHT8clgdYiT0nW3SSKCe2QpW1wQ=
=etN3
-----END PGP SIGNATURE-----

--2O4XV2m64gq34JEt--
Technical Details
Message-ID: <O07Ul-chHn-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <O04tr-cfJv-27@gated-at.bofh.it> <O04jL-cfFg-3@gated-at.bofh.it> <O05zb-cgt7-1@gated-at.bofh.it> <O06lz-cgMk-3@gated-at.bofh.it> <O06Yh-chb7-1@gated-at.bofh.it> <O077X-chfj-5@gated-at.bofh.it> <O07hD-chjc-3@gated-at.bofh.it> <O07AZ-chzL-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: <tomas@tuxteam.de>
Newsgroups: linux.debian.user
Subject: Re: escaping with \ in shells (was: beeps and other sounds)
Date: Mon, 16 Nov 2026 17:40:01 +0100
Message-ID: <O07Ul-chHn-7@gated-at.bofh.it>
References: <O04tr-cfJv-27@gated-at.bofh.it> <O04jL-cfFg-3@gated-at.bofh.it> <O05zb-cgt7-1@gated-at.bofh.it> <O06lz-cgMk-3@gated-at.bofh.it> <O06Yh-chb7-1@gated-at.bofh.it> <O077X-chfj-5@gated-at.bofh.it> <O07hD-chjc-3@gated-at.bofh.it> <O07AZ-chzL-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-user-request@lists.debian.org  Mon Nov 16 16:36:11 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, RCVD_IN_DNSWL_NONE=-0.0001]
 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="2O4XV2m64gq34JEt"
Content-Disposition: inline
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832941
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/avsw7mmXWrhIyOrn@tuxteam.de
Approved: robomod@news.nic.it
Lines: 43
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 16 Nov 2026 17:35:58 +0100
X-Original-Message-ID: <avsw7mmXWrhIyOrn@tuxteam.de>
X-Original-References: <avr8-gKZTx-g27RE@wooledge.org>
 <avr6OuVs_c90AmCM@phare.normalesup.org>
 <20261116140728.GA803748@qaa.vinc17.org>
 <avsY_5TT0NYprhPQ@phare.normalesup.org>
 <avsh8XMg8np2+lZo@tuxteam.de>
 <avslfMQgr2ujVV0W@phare.normalesup.org>
 <avsm3ujvb8KFJbEd@tuxteam.de>
 <avss0guuaT8FD02a@wooledge.org>