On 22/05/11 14:43 , Alexander Hansen wrote:

> On 5/22/11 7:16 AM, Akio Sakai wrote:
[]
>> $ fink list texlive*
>> Information about 10009 packages read in 1 seconds.
>>
>> $ fink list texlive-base
>> Information about 10009 packages read in 0 seconds.
>>       texlive-base          0.20100722-4     Base programs for a TeX Live
>> installation
[]
> I've no clue what the issue is with "fink list texlive*".  It works for
> me.  Maybe someone on the list has experienced a similar issue.

If you run "fink list texlive*", then the wildcard "*" is evaluated by
the *shell* before fink is invoked, not by fink. The result depends on
the directory where you are, because the evaluation of "texlive*" is a
list of files with names beginning with "texlive". Suppose your current
working directory is /sw/fink/dists/unstable/main/finkinfo/text. Then
the command "fink list texlive*" evaluates as

  fink list texlive-texmf.info texlive.info texlive.patch

and the result is as shown above, because there are no packages
corresponding to this query. If you are in a directory where "texlive*"
does not match any file, then the result depends on the shell you are
running. Under tcsh, you will get an error message

  fink: No match.

whereas under bash, you get what you think you should get, because
"texlive*" is then passed to fink unchanged.

What you really want to run is simply "fink list texlive". This will get
you all packages with names containing the string "texlive". Fink adds
the wildcards all by itself.

-- 
Martin

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to