guide bug?

Perry E. Metzger perry at piermont.com
Fri Apr 27 12:37:54 UTC 2018


On Fri, 27 Apr 2018 05:02:30 +0200 Rainer Müller
<raimue at macports.org> 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		perry at piermont.com


More information about the macports-dev mailing list