zsh-users
 help / color / mirror / code / Atom feed
From: Artur Penttinen <artur.penttinen@sonera.inet.fi>
To: ZSH Users <zsh-users@sunsite.auc.dk>
Subject: RE: Selecting leaf directories only
Date: Wed, 7 Feb 2001 19:15:45 +0200 (EET)	[thread overview]
Message-ID: <Pine.LNX.4.32.0102071912590.22484-100000@arto.icpd.sonera.fi> (raw)
In-Reply-To: <000901c090e8$86ef8370$21c9ca95@mow.siemens.ru>

On Wed, 7 Feb 2001, Andrej Borsenkow wrote:

> From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
> To: zsh-users@sunsite.auc.dk
> Subject: RE: Selecting leaf directories only
> Date: Wed, 7 Feb 2001 12:29:53 +0300
> X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
> X-Procmail-List: Z Shell Users Mailing List
>
> >
> > Black magic. Awesome :-)
> >
> > But it does not completely solve the problem (it does in my specific case,
> > thank you). It needs at least two levels;
>
> Actually, it works with exactly two levels only:
>
> bor@itsrm2% mkdir -p foo/bar/{baz1,baz2}
> bor@itsrm2% print -l */**/*(/)
> foo/bar
> ^^^^^^^
> foo/bar/baz1
> foo/bar/baz2

  # mkdir -p foo/bar/{baz1,baz2}
  # print -l */**/*(/)
  foo/bar
  foo/bar/baz1
  foo/bar/baz2
  # print -l */*/*(/)
  foo/bar/baz1
  foo/bar/baz2

						wbw,artur






  reply	other threads:[~2001-02-07 10:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-07  7:44 Andrej Borsenkow
2001-02-07  8:59 ` Geoff Wing
2001-02-07  9:21   ` Andrej Borsenkow
2001-02-07  9:29     ` Andrej Borsenkow
2001-02-07 17:15       ` Artur Penttinen [this message]
2001-02-07 10:05 ` Akos Szalkai
2001-02-07 10:18   ` Andrej Borsenkow
2001-02-07 10:46     ` Nadav Har'El
2001-02-07 12:07       ` Andrej Borsenkow

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=Pine.LNX.4.32.0102071912590.22484-100000@arto.icpd.sonera.fi \
    --to=artur.penttinen@sonera.inet.fi \
    --cc=zsh-users@sunsite.auc.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).