zsh-users
 help / color / mirror / code / Atom feed
From: Atom Smasher <atom@smasher.org>
To: zsh-users@sunsite.dk
Subject: Filename Generation - *(.)
Date: Fri, 5 Oct 2007 21:03:32 +1300 (NZDT)	[thread overview]
Message-ID: <20071005080339.19628.qmail@smasher.org> (raw)

these do what i'd expect:
  ls ./*(.)    # list all regular files in the current dir
  ls *(.)      # list all regular files in the current dir
  grep foo ./*(.)    # grep 'foo' from regular files in the current dir

this doesn't:
  grep foo *(.)

can anyone explain that?

zsh 4.3.4 (amd64-portbld-freebsd6.2)


-- 
         ...atom

  ________________________
  http://atom.smasher.org/
  762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
  -------------------------------------------------

 	Hofstadter's law:
 	 Any computer project will take twice as long as you think
 	it will even when you take into account Hofstadter's law.



             reply	other threads:[~2007-10-05  8:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-05  8:03 Atom Smasher [this message]
2007-10-05  8:41 ` Stephane Chazelas
2007-10-05  8:44   ` Atom Smasher
2007-10-05  8:49   ` Stephane Chazelas

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=20071005080339.19628.qmail@smasher.org \
    --to=atom@smasher.org \
    --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).