zsh-users
 help / color / mirror / code / Atom feed
* arrays and spaces in file names?
@ 2006-05-24 20:08 reckoner
  2006-05-25 15:05 ` Mikael Magnusson
  2006-05-25 15:08 ` Marc Chantreux
  0 siblings, 2 replies; 8+ messages in thread
From: reckoner @ 2006-05-24 20:08 UTC (permalink / raw)
  To: zsh-users

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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-05-26  0:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-24 20:08 arrays and spaces in file names? reckoner
2006-05-25 15:05 ` Mikael Magnusson
2006-05-25 15:10   ` Marc Chantreux
2006-05-25 16:56     ` Paul Ackersviller
2006-05-25 17:53       ` Paul Ackersviller
2006-05-25 21:32   ` sam reckoner
2006-05-26  0:22     ` Eric Mangold
2006-05-25 15:08 ` Marc Chantreux

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).