From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: From: Costin Chirvasuta Date: Thu, 26 Apr 2018 20:01:55 +0100 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset="UTF-8" Subject: Re: [9fans] simple rc problem in p9p (on OpenBSD) Topicbox-Message-UUID: d535aa9a-ead9-11e9-9d60-3106f5b1d025 I lot of the messages on this list end up being marked as spam. I believe there was a previous discussion about this. On Thu, Apr 26, 2018 at 7:36 PM, Rudolf Sykora wrote: > On 26 April 2018 at 17:48, Benjamin Purcell wrote: >> Since no one had any idea what you had in mind, here is stab in the >> dark. Did you want >> >> % for(i in `{echo $w}) {echo $i; echo XXX} > > Yes. That was it. > But basically this was already given in Teodoro Santoni's > e-mail. > >> On Thu, Apr 26, 2018 at 11:29 AM, Alexander Kapshuk >> wrote: >>> You could initialise $w to hold a list of files output by ls like so: >>> % w=`{ls} >>> % echo $#w >>> 40 >>> >>> Is this what you had in mind? > > I am puzzled now. I actually did not get Alexander Kapshuk's > e-mail, it was not delivered to my gmail account. (But it is > present at https://marc.info/?l=9fans&r=1&b=201804&w=2 ). > (And it seems you might have not received Santoni's e-mail.) > I don't know what's happening here. > > Thanks > Ruda >