zsh-users
 help / color / mirror / code / Atom feed
* help with ~ as exclusion pattern operator
@ 1997-05-18 16:08 Jose Unpingco
  1997-05-18 16:22 ` Andrei Tcherepanov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jose Unpingco @ 1997-05-18 16:08 UTC (permalink / raw)
  To: zsh

hi,

I have a directory of files 

    ssp0.10coef1.txt
    ssp0.20coef1.txt
    ssp3299.txt
    ssp3300.txt
    ssp3301.txt
    ssp3302.txt
    sspeofproj.eps
    sspgi1.txt
    sspsamples.eps

Why is it that when I do

% ls ssp*t~*co*

I don't get 

    ssp3299.txt
    ssp3300.txt
    ssp3301.txt
    ssp3302.txt
    sspgi1.txt

Instead I get

    zsh: no matches found: ssp*t~*co*

I don't get it. I read the manual page on the ~ operator.

Thanks.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: help with ~ as exclusion pattern operator
  1997-05-18 16:08 help with ~ as exclusion pattern operator Jose Unpingco
@ 1997-05-18 16:22 ` Andrei Tcherepanov
  1997-05-18 17:35 ` Hasan Diwan
  1997-05-18 17:37 ` Hasan Diwan
  2 siblings, 0 replies; 4+ messages in thread
From: Andrei Tcherepanov @ 1997-05-18 16:22 UTC (permalink / raw)
  To: Jose Unpingco; +Cc: zsh

Jose Unpingco wrote:
> 
> hi,
> 
> I have a directory of files
> 
>     ssp0.10coef1.txt
>     ssp0.20coef1.txt
>     ssp3299.txt
>     ssp3300.txt
>     ssp3301.txt
>     ssp3302.txt
>     sspeofproj.eps
>     sspgi1.txt
>     sspsamples.eps
> 
> Why is it that when I do
> 
> % ls ssp*t~*co*
> 
> I don't get
> 
>     ssp3299.txt
>     ssp3300.txt
>     ssp3301.txt
>     ssp3302.txt
>     sspgi1.txt
> 
> Instead I get
> 
>     zsh: no matches found: ssp*t~*co*
> 
> I don't get it. I read the manual page on the ~ operator.
> 
> Thanks.

... and don't read about setopt extendedglob  ;-) 
(really, I got THE same problem about 2 days ago ...)

-- 
Thanks,
  Andrei ( tandr@ptc.com )


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: help with ~ as exclusion pattern operator
  1997-05-18 16:08 help with ~ as exclusion pattern operator Jose Unpingco
  1997-05-18 16:22 ` Andrei Tcherepanov
@ 1997-05-18 17:35 ` Hasan Diwan
  1997-05-18 17:37 ` Hasan Diwan
  2 siblings, 0 replies; 4+ messages in thread
From: Hasan Diwan @ 1997-05-18 17:35 UTC (permalink / raw)
  To: unpingco; +Cc: zsh-users

:  From: unpingco@mpl.ucsd.edu (Jose Unpingco)
:  Date: Sun, 18 May 1997 09:08:50 -0700 (PDT)
:  X-Mailer: ELM [version 2.4 PL25]
:  Mime-Version: 1.0
:  Content-Type: text/plain; charset=US-ASCII
:  Content-Transfer-Encoding: 7bit
:  Resent-From: zsh-users@math.gatech.edu
:  X-Mailing-List: <zsh-users@math.gatech.edu> archive/latest/855
:  X-Loop: zsh-users@math.gatech.edu
:  X-Loop: zsh-workers@math.gatech.edu
:  Precedence: list
:  Resent-Sender: zsh-workers-request@math.gatech.edu
:  
:  hi,
:  
:  I have a directory of files 
:  
:      ssp0.10coef1.txt
:      ssp0.20coef1.txt
:      ssp3299.txt
:      ssp3300.txt
:      ssp3301.txt
:      ssp3302.txt
:      sspeofproj.eps
:      sspgi1.txt
:      sspsamples.eps
:  
:  Why is it that when I do
:  
:  % ls ssp*t~*co*
:  
:  I don't get 
:  
:      ssp3299.txt
:      ssp3300.txt
:      ssp3301.txt
:      ssp3302.txt
:      sspgi1.txt
:  
:  Instead I get
:  
:      zsh: no matches found: ssp*t~*co*
:  
:  I don't get it. I read the manual page on the ~ operator.
:  
:  Thanks.
:  
:  
:  


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: help with ~ as exclusion pattern operator
  1997-05-18 16:08 help with ~ as exclusion pattern operator Jose Unpingco
  1997-05-18 16:22 ` Andrei Tcherepanov
  1997-05-18 17:35 ` Hasan Diwan
@ 1997-05-18 17:37 ` Hasan Diwan
  2 siblings, 0 replies; 4+ messages in thread
From: Hasan Diwan @ 1997-05-18 17:37 UTC (permalink / raw)
  To: unpingco; +Cc: zsh-users

:  From: unpingco@mpl.ucsd.edu (Jose Unpingco)
:  Date: Sun, 18 May 1997 09:08:50 -0700 (PDT)
:  X-Mailer: ELM [version 2.4 PL25]
:  Mime-Version: 1.0
:  Content-Type: text/plain; charset=US-ASCII
:  Content-Transfer-Encoding: 7bit
:  Resent-From: zsh-users@math.gatech.edu
:  X-Mailing-List: <zsh-users@math.gatech.edu> archive/latest/855
:  X-Loop: zsh-users@math.gatech.edu
:  X-Loop: zsh-workers@math.gatech.edu
:  Precedence: list
:  Resent-Sender: zsh-workers-request@math.gatech.edu
:  
:  hi,
:  
:  I have a directory of files 
:  
:      ssp0.10coef1.txt
:      ssp0.20coef1.txt
:      ssp3299.txt
:      ssp3300.txt
:      ssp3301.txt
:      ssp3302.txt
:      sspeofproj.eps
:      sspgi1.txt
:      sspsamples.eps
:  
:  Why is it that when I do
:  
:  % ls ssp*t~*co*
Try:
% ls ssp*t*co*<TAB> 
Why are you using the '~' in the first place? 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-05-18 17:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-05-18 16:08 help with ~ as exclusion pattern operator Jose Unpingco
1997-05-18 16:22 ` Andrei Tcherepanov
1997-05-18 17:35 ` Hasan Diwan
1997-05-18 17:37 ` Hasan Diwan

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).