zsh-workers
 help / color / mirror / code / Atom feed
* Re: buglet?
       [not found] <19971216194655.45891@retriever>
@ 1997-12-17 16:40 ` Bart Schaefer
  1997-12-17 16:48   ` buglet? Louis-David Mitterrand
  0 siblings, 1 reply; 2+ messages in thread
From: Bart Schaefer @ 1997-12-17 16:40 UTC (permalink / raw)
  To: zsh-workers, mito

On Dec 17,  6:45am, Louis-David Mitterrand wrote:
} Subject: buglet?
}
} (using 3.0.5)
} 
} % t=( vic/ab/test.java(:s/.java/.class) )

I have -no- idea why that worked at all.  vic/ab/test.java is not a glob
pattern, so (:s/.java/.class) should not have been taken as a qualifier.
(Either that, or the documentation is woefully inaccurate.)

% t=( vic/ab/test.java(.) )
% echo $t
vic/ab/test.java(.)

Given that it was taken as a qualifier and therefore interpreted as a
modifier, you're right, the first close-paren should have ended it.

So there appear to be two bugs here.  Look at this:

%  t=( vic/ab/test.java(.:s/.java/.class) )
zsh: no match

That `:' is causing magic that it shouldn't cause.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


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

* Re: buglet?
  1997-12-17 16:40 ` buglet? Bart Schaefer
@ 1997-12-17 16:48   ` Louis-David Mitterrand
  0 siblings, 0 replies; 2+ messages in thread
From: Louis-David Mitterrand @ 1997-12-17 16:48 UTC (permalink / raw)
  To: Bart Schaefer; +Cc: zsh-workers

On Wed, Dec 17, 1997 at 08:40:24AM -0800, Bart Schaefer wrote:
> On Dec 17,  6:45am, Louis-David Mitterrand wrote:
> } Subject: buglet?
> }
> } (using 3.0.5)
> } 
> } % t=( vic/ab/test.java(:s/.java/.class) )
> 
> I have -no- idea why that worked at all.  vic/ab/test.java is not a glob
> pattern, so (:s/.java/.class) should not have been taken as a qualifier.
> (Either that, or the documentation is woefully inaccurate.)

How does one specify "this should be taken as a glob pattern"? I could't
find the syntax in the help files. This is the ugly result of trial &
error ;-)

TIA

-- 
                        
Louis-David Mitterrand  
http://www.aparima.com  
mito@aparima.com        
                        


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

end of thread, other threads:[~1997-12-17 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <19971216194655.45891@retriever>
1997-12-17 16:40 ` buglet? Bart Schaefer
1997-12-17 16:48   ` buglet? Louis-David Mitterrand

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