develooper Front page | perl.perl5.porters | Postings from December 2013

[perl #120619] Clarification for File::Copy documentation

Thread Next
From:
Tony Cook via RT
Date:
December 19, 2013 04:13
Subject:
[perl #120619] Clarification for File::Copy documentation
Message ID:
rt-4.0.18-19327-1387426392-1240.120619-15-0@perl.org
On Mon Dec 16 19:52:51 2013, rrt wrote:
> On Mon Dec 16 15:38:07 2013, tonyc wrote:
> > For Unix systems (everything but OS/2, Win32, VMS) syscopy is an
> > alias
> > for copy:
> >
...
> > I don't think your edit of the sentence from:
> >
> > For Unix systems, this is equivalent to the simple C<copy> routine,
> > which doesn't preserve OS-specific attributes.
> >
> > to:
> >
> > For Unix systems, this is equivalent to the simple C<copy> routine,
> > and
> > doesn't preserve attributes.
> >
> > adds much, since copy() does preserve OS independent attributes - the
> > content of the file.
> 
> I fear I was unclear. I proposed that change in the case that the
> semantics were the other way around, i.e. if syscopy on Unix worked
> the same as the description of the simple copy routine. Since, as you
> say, it is not so, it is my first suggestion that should be taken into
> account, namely, that the above sentence be rewritten as:
> 
> For Unix systems, this is equivalent to the simple "cp" routine.

I said that syscopy is an alias for copy, neither is equivalent to cp on Unix systems.

Tony


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=120619

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About