On Fri, 22 Mar 2002, Zorro wrote:

> what, I wonder, would happen if  I
> cp/sw/fink/dists/unstable/main/finkinfo* /sw/fink/dists/local/main/finkinfo

Well, you could do something like this:

 cp -R /sw/fink/dists/unstable/main/finkinfo/* \
       /sw/fink/dists/local/main/finkinfo

Which "recursively" [the target directory and all sub-targets] copies
everything from the first directory to [forcing a linebreak with the
backslash but treating both lines as one command] the second one. 

But I wouldn't do this, it's just a bad idea. Everything is neatly
organized and doing this would mess all of that up. If you want to have
access to everything in unstable, then the better way to do it is by
editinr your /sw/etc/fink.conf file. In it, you should have a line as:

    Trees: local/main stable/main stable/crypto local/bootstrap

If you edit it to look more like this:

    Trees: local/main stable/main stable/crypto local/bootstrap unstable/main 
unstable/crypto

Then you will have granted yourself full access to the unstable branch.

> I am such a pain...why the asterisk?

It's a wildcard -- it grabs everything matching the simple pattern. (Less
nuanced than the pattern matching used by commands like grep and Perl.)
Similar to DOS wildcards, if you ever spent any time there (if not, lucky
you :). In the case of your example:

    /sw/fink/dists/unstable/main/finkinfo*

It will match all files in /sw/fink/dists/unstable/main/ that begin with
the letters "f i n k i n f o", such as say "finkinfotainment". If you
adjust your example slightly, to: 

    /sw/fink/dists/unstable/main/finkinfo/*

Then it will match all files in /sw/fink/dists/unstable/main/finkinfo/
that match *any* pattern -- that is, everything in there. The latter is
probably what you meant here. 

> PS I have been on this list for a while now and it seems traffic is
> really picking up with mac people trying to cross over and learn.  It
> also is apparent that the responses have been picking up also, which is
> great. 

Yes. :)

> Another Q...Unix is so old now (yet still so efficient)
> What the hell could be next?

Plan 9 from outer space. Dante's Inferno. :)



-- 
Chris Devers                                [EMAIL PROTECTED]
Apache / mod_perl / http://homepage.mac.com/chdevers/resume/


_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to