zsh-users
 help / color / mirror / code / Atom feed
From: Matthew Braun <matthew@ans.net>
To: zsh-users@math.gatech.edu
Subject: bug with **/ syntax?
Date: Sat, 7 Dec 1996 07:32:26 -0500	[thread overview]
Message-ID: <199612071232.HAA06845@sassy.aa.ans.net> (raw)

I'm trying to get the behavior of ksh's */, which according to the zsh
man page, looks like you should use **/ to get that behavior.  To me it
looks like **/ is really acting like ***/.

Examples below.

So is this a bug or am I not reading the man page correctly?

Matthew.

=====

sassy:ftp/glimpse-4.0.src> ls -F
CHANGES            Makefile.orig      communicate.c      glimpseindex.1
CONTRIBUTIONS      Makefile.rs6000    compress/          glimpseserver.1
COPYRIGHT          Makefile.sgi       configure*         index/
Makefile           Makefile.solaris   configure.in       install-sh*
Makefile.NeXT      Makefile.sunos     defs.h             lib/
Makefile.alpha     README             get_filename.c     libtemplate/
Makefile.hp        README.install     get_index.c        main.c
Makefile.in        agrep/             glimpse.1          mkinstalldirs*
Makefile.linux     bin/               glimpse.chronicle  split.c

sassy:ftp/glimpse-4.0.src> ksh -c 'ls -d */' 
agrep/        compress/     lib/
bin/          index/        libtemplate/


[this next example is the alleged bug, it shouldn't show the directories
under libtemplate --matthew]

sassy:ftp/glimpse-4.0.src> \ls -d **/    
agrep/                 lib/                   libtemplate/template/
bin/                   libtemplate/           libtemplate/util/
compress/              libtemplate/include/
index/                 libtemplate/lib/

sassy:ftp/glimpse-4.0.src> \ls -d ***/
agrep/                 lib/                   libtemplate/template/
bin/                   libtemplate/           libtemplate/util/
compress/              libtemplate/include/
index/                 libtemplate/lib/


             reply	other threads:[~1996-12-07 12:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-07 12:32 Matthew Braun [this message]
1996-12-07 13:33 ` Zefram

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=199612071232.HAA06845@sassy.aa.ans.net \
    --to=matthew@ans.net \
    --cc=zsh-users@math.gatech.edu \
    /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).