Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
arrays and spaces in file names?
- X-seq: zsh-users 10303
- From: reckoner <sam.reckoner@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: arrays and spaces in file names?
- Date: Wed, 24 May 2006 13:08:57 -0700
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:user-agent:mime-version:to:subject:content-type:content-transfer-encoding:from; b=mAc20LXeV9wg8DxIAlppqUAgE2sLf67iCwxoBpZsuh0rjgZM+g9ky5WeQAT5HFjNEAK8TA5OCCtozetSr1KOq2AjGHFhMvlg8UjkQNSuglYIFzJhwD0mAwtAVdyMMgcyEXxD6HGpaBufNE7q3vj8FbW/Y7KL9mQq9ZdyW4hrvEI=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
I want to do something like
% names=(`find . -print`)
and then something like
% for i in names do;...;done
The problem is that some of the filenames have spaces in them and the
array elements split on these spaces. I read the manpage and can't make
sense of what to do w/ this.
Help?
Thanks.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author