[Chicken-users] where move-file is?
Hi guys, I want to use move-file procedure, ( http://api.call-cc.org/doc/chicken/eggs/move-file ), but i cannot find it as an egg or as an procedure. I mean, seems an egg, but chicken-install cannot find it, and doesn't seems installed already. Can you give me an advice? (i tried chicken 4.5.0 and 4.6.0) Thanks, Hugo. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] where move-file is?
On Thu, Jun 30, 2011 at 10:16 AM, Peter Bex wrote: > It's actually part of the available procedures inside a setup-script > for eggs (see http://wiki.call-cc.org/man/4/Extensions#move-file) > > It is available in setup-api. (use setup-api) > Thanks Peter! ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] where move-file is?
On Jun 30, 2011, at 6:04 AM, Hugo Arregui wrote: > Hi guys, > > I want to use move-file procedure, ( > http://api.call-cc.org/doc/chicken/eggs/move-file ), but i cannot find > it as an egg or as an procedure. I mean, seems an egg, but > chicken-install cannot find it, and doesn't seems installed already. > Can you give me an advice? Unit files file-move > > (i tried chicken 4.5.0 and 4.6.0) > > Thanks, > Hugo. > > ___ > Chicken-users mailing list > Chicken-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/chicken-users ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] where move-file is?
On Thu, Jun 30, 2011 at 10:23 AM, Kon Lovett wrote: > Unit files file-move Even better, I will use this one. Thanks everyone. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] where move-file is?
Hi Hugo, On 06/30/11 at 10:04am, Hugo Arregui wrote: > I want to use move-file procedure, [...] but i cannot find it as an > egg or as an procedure. Many file operations such as file-move and file-copy are in the files unit: http://wiki.call-cc.org/man/4/Unit%20files Evan ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] where move-file is?
On Thu, Jun 30, 2011 at 10:04:39AM -0300, Hugo Arregui wrote: > Hi guys, > > I want to use move-file procedure, ( > http://api.call-cc.org/doc/chicken/eggs/move-file ), but i cannot find > it as an egg or as an procedure. I mean, seems an egg, but > chicken-install cannot find it, and doesn't seems installed already. It's actually part of the available procedures inside a setup-script for eggs (see http://wiki.call-cc.org/man/4/Extensions#move-file) It is available in setup-api. (use setup-api) Cheers, Peter -- http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] where move-file is?
From: Hugo Arregui Subject: [Chicken-users] where move-file is? Date: Thu, 30 Jun 2011 10:04:39 -0300 > Hi guys, > > I want to use move-file procedure, ( > http://api.call-cc.org/doc/chicken/eggs/move-file ), but i cannot find > it as an egg or as an procedure. I mean, seems an egg, but > chicken-install cannot find it, and doesn't seems installed already. > Can you give me an advice? There is a "move-file" procedure in "setup-api": (use setup-api) (move-file ...) cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] where move-file is?
Hi Hugo, On Thu, 30 Jun 2011 10:04:39 -0300 Hugo Arregui wrote: > I want to use move-file procedure, ( > http://api.call-cc.org/doc/chicken/eggs/move-file ), but i cannot find > it as an egg or as an procedure. I mean, seems an egg, but > chicken-install cannot find it, and doesn't seems installed already. > Can you give me an advice? `move-file' is from chicken-core's setup-api. It is intended to be run in .setup files. See http://wiki.call-cc.org/man/4/Extensions#move-file It uses system commands behind the scenes. You probably want `file-move' (http://wiki.call-cc.org/man/4/Unit%20files#file-move) from the files unit. Maybe Jim can provide a good explanation for the api.call-cc.org path. I suppose the Extensions section from the manual is mapped as `eggs' in chicken-doc. I'm not sure. Best wishes. Mario -- http://parenteses.org/mario ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] where move-file is?
On Jun 30, 2011, at 8:30 AM, Mario Domenech Goulart wrote: > Maybe Jim can provide a good explanation for the api.call-cc.org path. > I suppose the Extensions section from the manual is mapped as `eggs' in > chicken-doc. I'm not sure. It's an unfortunate exception. The pages mapped under "chicken" are either plain manual pages like "deployment" or "acknowledgements", or alternatively, describe identifiers you bring in when you (import chicken), like the "exceptions" and "macros" pages. However, the "eggs" (Extensions) manpage contains some stuff that is actually from setup-api. Normally that stuff would go in "Unit setup-api" and appear in chicken-doc under the "setup-api" page. But setup-api is not an official unit, I guess. Instead the page just states "procedures for use in setup scripts". I don't know if there's any desire to change this to make it clearer in the manual and/or prevent misunderstandings in chicken-doc. Jim ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users