Article View: linux.debian.user
Article #543Re: beeps and other sounds
From: Nicolas George
Date: Mon, 16 Nov 2026 12:50
Date: Mon, 16 Nov 2026 12:50
18 lines
3010 bytes
3010 bytes
Vincent Lefevre (HE12026-11-16): > Yes, but AFAIK, this is valid. At least code like > printf "...\n" > is very common in shell scripts (including /bin/sh ones). Using echo -n is quite common too. I thought you were arguing for something as standard and robust as possible. Nothing that relies on a comprehensive list of special characters is robust. Can you tell, without looking at the standard, the exact list of characters in front of which backslash is an escaping character rather than the character backslash itself? And can you tel, for most common implementations of the shell, if they conform to the standard? Regards, -- Nicolas George
Technical Details
Message-ID:
<O04jL-cfFg-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<Jz190-2w6T-7@gated-at.bofh.it> <Jz74J-2ClB-3@gated-at.bofh.it> <O03e1-cf3m-3@gated-at.bofh.it> <O03nH-cf7Q-7@gated-at.bofh.it> <O04a5-cfAO-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Nicolas George <george@nsup.org> Newsgroups: linux.debian.user Subject: Re: beeps and other sounds Date: Mon, 16 Nov 2026 13:50:01 +0100 Message-ID: <O04jL-cfFg-3@gated-at.bofh.it> References: <Jz190-2w6T-7@gated-at.bofh.it> <Jz74J-2ClB-3@gated-at.bofh.it> <O03e1-cf3m-3@gated-at.bofh.it> <O03nH-cf7Q-7@gated-at.bofh.it> <O04a5-cfAO-3@gated-at.bofh.it> X-Mailbox-Line: From debian-user-request@lists.debian.org Mon Nov 16 12:42:48 2026 Old-Return-Path: <george@phare.normalesup.org> X-Amavis-Spam-Status: No, score=-4.049 tagged_above=-10000 required=5.3 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.7 X-Ens-Nef-Client: 129.199.129.80 ( name = phare.normalesup.org ) Authentication-Results: nef.ens.fr; dkim=pass reason="2048-bit key; unprotected key" header.d=nsup.org header.i=@nsup.org header.b=RTTPHIGA; dkim-adsp=pass; dkim-atps=neutral Reply-To: debian-user@lists.debian.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (nef.ens.fr [129.199.96.32]); Mon, 16 Nov 2026 13:42:35 +0100 (CET) X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832929 List-ID: <debian-user.lists.debian.org> List-URL: <https://lists.debian.org/debian-user/> List-Archive: https://lists.debian.org/msgid-search/avr6OuVs_c90AmCM@phare.normalesup.org Approved: robomod@news.nic.it Lines: 18 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 16 Nov 2026 13:42:34 +0100 X-Original-Message-ID: <avr6OuVs_c90AmCM@phare.normalesup.org> X-Original-References: <BYAPR12MB28083B81ACF7B2E5EB5E2368BA402@BYAPR12MB2808.namprd12.prod.outlook.com> <CAO6YxPzgFFzwO5dHGwewxiXRwBgM1=JM_fLZ0MFAr-saowao=Q@mail.gmail.com> <20261116113803.GF670644@qaa.vinc17.org> <avrstzwgDRtEhgBH@phare.normalesup.org> <20261116123409.GG670644@qaa.vinc17.org>