zsh-users
 help / color / mirror / code / Atom feed
From: Paul Ackersviller <pda@sdf.lonestar.org>
To: Marc Chantreux <marc.chantreux@ulpmm.u-strasbg.fr>
Cc: zsh-users@sunsite.dk
Subject: Re: arrays and spaces in file names?
Date: Thu, 25 May 2006 16:56:58 +0000	[thread overview]
Message-ID: <20060525165658.GA20662@sverige> (raw)
In-Reply-To: <4475C8F1.6020904@ulpmm.u-strasbg.fr>

On Thu, May 25, 2006 at 05:10:41PM +0200, Marc Chantreux wrote:
> Mikael Magnusson a ??crit :
> 
> >
> >Try this,
> >for i in **/*(.); do foo; bar;  done
> 
> not really :
> 
> find . -print works like **/*
> find . -type f -print works like **/*(.)

You'll also need to setopt GLOB_DOTS, aka DOT_GLOB, to match what find
will give you, i.e. include files with . on the front of theire names.


  reply	other threads:[~2006-05-25 16:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-24 20:08 reckoner
2006-05-25 15:05 ` Mikael Magnusson
2006-05-25 15:10   ` Marc Chantreux
2006-05-25 16:56     ` Paul Ackersviller [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060525165658.GA20662@sverige \
    --to=pda@sdf.lonestar.org \
    --cc=marc.chantreux@ulpmm.u-strasbg.fr \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).