Deutsch   English   Français   Italiano  
<slrnunele0.269.naddy@lorvorc.mips.inka.de>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!news.szaf.org!inka.de!mips.inka.de!.POSTED.localhost!not-for-mail
From: Christian Weisgerber <naddy@mips.inka.de>
Newsgroups: fr.comp.os.unix
Subject: Re: [bash] select
Date: Mon, 11 Dec 2023 18:32:32 -0000 (UTC)
Message-ID: <slrnunele0.269.naddy@lorvorc.mips.inka.de>
References: <ul1sek$d5$2@rasp.pasdenom.info>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 11 Dec 2023 18:32:32 -0000 (UTC)
Injection-Info: lorvorc.mips.inka.de; posting-host="localhost:::1";
	logging-data="2250"; mail-complaints-to="usenet@mips.inka.de"
User-Agent: slrn/1.0.3 (FreeBSD)
Bytes: 1098
Lines: 9

On 2023-12-09, Jo Engo <yl@icite.fr> wrote:

> select toto in $(sed "s/^/\"/;s/$/\"/" menu); do  echo $toto; done </>
> Qu'est-ce que je n'ai pas compris ?

Le shell traite ses opérations dans un ordre particulier.
Les guillemets sont traités _avant_ la substitution de commande.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de