Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [3.0.2] L glob qualifier broken
- X-seq: zsh-workers 2969
- From: Mark Borges <mdb@xxxxxxxxxxxx>
- To: gwing@xxxxxxxxxxxxxxx
- Subject: Re: [3.0.2] L glob qualifier broken
- Date: 06 Mar 1997 14:27:28 -0700
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: gwing@xxxxxxxxxxxxxxx's message of Fri, 7 Mar 1997 07:19:23 +1100 (EST)
- Organization: CIRES, University of Colorado
- References: <19970306201923.17543.qmail@xxxxxxxxxxxxxxx>
- Sender: mdb@xxxxxxxxxxxx
>> On Fri, 7 Mar 1997 07:19:23 +1100 (EST),
>> gwing (g) wrote:
g> Mark Borges <mdb@xxxxxxxxxxxx> writes:
g> : $ ls -al
g> : total 928
g> : drwxr-xr-x 2 mdb climate 512 Mar 6 12:09 .
g> : drwxr-xr-x 15 mdb climate 1536 Feb 5 11:52 ..
g> : -rw-rw-r-- 1 mdb climate 13440 Mar 6 11:37 cv397.bin
g> : -rw-r--r-- 1 mdb climate 14336 Mar 6 11:02 cv397.rtf
g> : -rw-rw-r-- 1 mdb climate 9700 Mar 6 11:37 cv397.txt
g> : -rw-r----- 1 mdb climate 4587 Mar 6 12:15 pubs.ref
g> : -rw-r----- 1 mdb climate 4925 Mar 6 12:05 pubs.ref~
g> : -rw-r--r-- 1 mdb climate 6588 Mar 6 12:04 pubs0.ref
g> : $ ls *(Lk+5)
g> : cv397.bin cv397.rtf cv397.txt pubs0.ref
g> :i.e., correct. But,
g> : $ ls *(Lk-5)
g> : /usr/local/bin/ls: *(Lk-5): No such file or directory
g> :Shouldn't it have returned the other two files?
g> No.
g> Oh, do you want a reason?
[ explanation elided ]
OK, 1k != 1000. doh!
g> The complement to ``ls *(Lk+5)'' is ``ls *(Lk-5,Lk5)''
Hmm, a some sort of "less/greater than or equal to" flag would be neat
here. Though I don't know what symbol would be even possible.
Anyway, thanks for the explanation.
--
-mb-
Messages sorted by:
Reverse Date,
Date,
Thread,
Author