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 <alexander.kaps...@gmail.com> wrote: > On Thu, Apr 26, 2018 at 6:08 PM, Rudolf Sykora <rudolf.syk...@gmail.com> > wrote: >> On 26 April 2018 at 16:54, Lucio De Re <lucio.d...@gmail.com> 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? >