zsh-workers
 help / color / mirror / code / Atom feed
* Just a comment...
@ 1999-02-15 11:12 Sven Wischnowsky
  0 siblings, 0 replies; only message in thread
From: Sven Wischnowsky @ 1999-02-15 11:12 UTC (permalink / raw)
  To: zsh-workers


>From Peter's `__rcs' example file:

  if [[ $NMATCHES -eq 0 && ...

I always used (the equivalent of):

   `local nm=$NMATCHES ... [[ $NMATCHES -eq nm ]] ...'

because I think that we should make the files as re-usable as
possible. The above will fail if the function for another command
first generates some matches and then calls __rcs to get those
matches, too. Dunno if this makes always sense, though.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-02-15 11:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-02-15 11:12 Just a comment Sven Wischnowsky

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