On Fri, 27 Apr 2018 05:02:30 +0200 Rainer Müller
<[email protected]> wrote:
> On 2018-04-27 03:23, Perry E. Metzger wrote:
> > In one part of the guide, we say not to use "file copy" but to use
> > "copy" instead,  
> 
> Are you sure you read that in the guide?

Yes.

"For the above operations provided by Tcl's file command, MacPorts
provides the following shorthands. These should be used in preference
to the Tcl commands above, as they may work around certain bugs."

So we've discouraged the direct use of "file copy" over using "copy"
by my reading. "These should be used in preference".

Perry

> 
> > but in 4.3.2. we show an example using "file copy"
> > rather than "copy". Is this a bug?  
> "file copy|move|delete" are native Tcl commands, while "copy",
> "move" and "delete" are implemented in port1.0 with additional
> functionality as documented in the guide [1].
> 
> There is no difference between "copy" and "file copy", it is just a
> shorthand and a matter of style.
> 
> Rainer
> 
> [1] https://guide.macports.org/#reference.tcl-extensions
> 



-- 
Perry E. Metzger                [email protected]

Reply via email to