From: gwing@primenet.com.au
To: mdb@cdc.noaa.gov (Mark Borges)
Cc: zsh-workers@math.gatech.edu
Subject: Re: [3.0.2] L glob qualifier broken
Date: Fri, 7 Mar 1997 07:19:23 +1100 (EST) [thread overview]
Message-ID: <19970306201923.17543.qmail@primenet.com.au> (raw)
In-Reply-To: <vkendsyfk0.fsf@cdc.noaa.gov> from Mark Borges at "Mar 6, 97 12:40:47 pm"
Mark Borges <mdb@cdc.noaa.gov> writes:
: $ ls -al
: total 928
: drwxr-xr-x 2 mdb climate 512 Mar 6 12:09 .
: drwxr-xr-x 15 mdb climate 1536 Feb 5 11:52 ..
: -rw-rw-r-- 1 mdb climate 13440 Mar 6 11:37 cv397.bin
: -rw-r--r-- 1 mdb climate 14336 Mar 6 11:02 cv397.rtf
: -rw-rw-r-- 1 mdb climate 9700 Mar 6 11:37 cv397.txt
: -rw-r----- 1 mdb climate 4587 Mar 6 12:15 pubs.ref
: -rw-r----- 1 mdb climate 4925 Mar 6 12:05 pubs.ref~
: -rw-r--r-- 1 mdb climate 6588 Mar 6 12:04 pubs0.ref
: $ ls *(Lk+5)
: cv397.bin cv397.rtf cv397.txt pubs0.ref
:i.e., correct. But,
: $ ls *(Lk-5)
: /usr/local/bin/ls: *(Lk-5): No such file or directory
:Shouldn't it have returned the other two files?
No.
Oh, do you want a reason?
13440 = 14k (13440 + 1023) / 1024
14336 = 14k (14336 + 1023) / 1024
9700 = 10k ( 9700 + 1023) / 1024
4587 = 5k ( 4587 + 1023) / 1024
4925 = 5k ( 4925 + 1023) / 1024
6588 = 7k ( 6588 + 1023) / 1024
ls *(Lk5) should return pubs.ref and pubs.ref~
The complement to ``ls *(Lk+5)'' is ``ls *(Lk-5,Lk5)''
You also wrote:
: $ ls *(m-5)
: /usr/local/bin/ls: *(m-5): No such file or directory
: $ ls *(m+5)
: /usr/local/bin/ls: *(m+5): No such file or directory
:The last line should return the complement, shouldn't it?
No. The complement is:
$ ls *(m+5,m5)
--
Geoff Wing [mason@primenet.com.au] Technical Manager
Phone : +61-3-9818 2977 PrimeNet - Internet Consultancy
Facsimile: +61-3-9819 3788 Web : <URL:http://www.primenet.com.au/>
Mobile : 0412 162 441
next prev parent reply other threads:[~1997-03-06 20:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-03-06 19:40 Mark Borges
1997-03-06 20:19 ` gwing [this message]
1997-03-06 21:27 ` Mark Borges
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=19970306201923.17543.qmail@primenet.com.au \
--to=gwing@primenet.com.au \
--cc=mdb@cdc.noaa.gov \
--cc=zsh-workers@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).