From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: From: Benjamin Purcell Date: Thu, 26 Apr 2018 11:48:15 -0400 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: d52466d6-ead9-11e9-9d60-3106f5b1d025 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} ? On Thu, Apr 26, 2018 at 11:29 AM, Alexander Kapshuk wrote: > On Thu, Apr 26, 2018 at 6:08 PM, Rudolf Sykora wrote: >> On 26 April 2018 at 16:54, Lucio De Re wrote: >>> w=(A B C) >>> >>> ? >> >> 1) this is not an answer >> 2) the use of it all was that I wanted to send to print >> certain files, the list of which I got from ls followed >> by manual deletion (in 9term) of some... Newline separation >> is thus natural. >> >> Thanks anyway >> Ruda >> > > 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? >