zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: zsh-workers@sunsite.dk (Zsh hackers list)
Subject: PATCH: (F) note
Date: Mon, 05 Apr 2004 14:26:19 +0100	[thread overview]
Message-ID: <12254.1081171579@csr.com> (raw)

Might as well make this clear before people start asking...

The answer to the other question is no, it isn't easier the other way
around.  Glob qualifiers necessarily act as boolean selectors, so
there's no single-character way of expressing directory, non-empty
directory, not a directory.

Index: Doc/Zsh/expn.yo
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/expn.yo,v
retrieving revision 1.47
diff -u -r1.47 expn.yo
--- Doc/Zsh/expn.yo	1 Apr 2004 18:33:22 -0000	1.47
+++ Doc/Zsh/expn.yo	5 Apr 2004 13:09:33 -0000
@@ -1631,7 +1631,10 @@
 directories
 )
 item(tt(F))(
-`full' (i.e. non-empty) directories
+`full' (i.e. non-empty) directories.  Note that the
+opposite sense tt(LPAR()^F)tt(RPAR()) gives files which are
+either empty, or not directories.  Use tt(LPAR()/^F)tt(RPAR()) for
+empty directories
 )
 item(tt(.))(
 plain files

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


             reply	other threads:[~2004-04-05 13:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-05 13:26 Peter Stephenson [this message]
2004-04-05 16:07 ` Wayne Davison

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=12254.1081171579@csr.com \
    --to=pws@csr.com \
    --cc=zsh-workers@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).