🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #552

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

#552
From: Greg Wooledge
Date: Mon, 16 Nov 2026 16:20
13 lines
2534 bytes
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.

That quoting form is actually specified in the current POSIX standard:
<https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_02_04>

Many /bin/sh implementations won't have caught up yet, though.  That
standard is only 2 years old.

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.
Technical Details
Message-ID: <O07AZ-chzL-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!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>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Greg Wooledge <greg@wooledge.org>
Newsgroups: linux.debian.user
Subject: Re: escaping with \ in shells (was: beeps and other sounds)
Date: Mon, 16 Nov 2026 17:20:01 +0100
Message-ID: <O07AZ-chzL-3@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>
X-Original-To: debian-user@lists.debian.org
X-Mailbox-Line: From debian-user-request@lists.debian.org  Mon Nov 16 16:19:09 2026
Old-Return-Path: <greg@wooledge.org>
X-Amavis-Spam-Status: No, score=-1.9 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -4.6
Mail-Followup-To: debian-user@lists.debian.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832940
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/avss0guuaT8FD02a@wooledge.org
Approved: robomod@news.nic.it
Lines: 13
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 16 Nov 2026 11:18:26 -0500
X-Original-Message-ID: <avss0guuaT8FD02a@wooledge.org>
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>