Re: copy_file?

Daniel Diaz <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <[email protected]>
Le 17/11/2012 16:14, mcculloch a écrit :
> In GNU Prolog there are built-ins for deleting files and directories, making
> directories and other file operations, but no copy_file.  Am I missing
> something?  Do I have to either write my own byte for byte copy or shell to
> a cp command?
You are right, there is no predicate to copy a file. The easiest and 
fastest solution is to invoke the shell copy command.

Daniel

-- 
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.