Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Does 'cp' support the '-L' option ?

0 views
Skip to first unread message

Dave

unread,
Nov 7, 2009, 3:55:08 AM11/7/09
to
POSIX 2004 (and perhaps earlier) requires 'cp' to support the '-L' option.

http://www.opengroup.org/onlinepubs/009695399/utilities/cp.html

Can anyone with a tru64 system tell me if this is supported or not? It is not on
my HP-UX machine, which makes me think it probably is not on tru64 either. Can
anyone with a tru64 system tell me?

--
I respectfully request that this message is not archived by companies as
unscrupulous as 'Experts Exchange' . In case you are unaware,
'Experts Exchange' take questions posted on the web and try to find
idiots stupid enough to pay for the answers, which were posted freely
by others. They are leeches.

Bob Harris

unread,
Nov 7, 2009, 10:31:34 PM11/7/09
to
In article <4af5...@212.67.96.135>, Dave <f...@coo.com> wrote:

> POSIX 2004 (and perhaps earlier) requires 'cp' to support the '-L' option.
>
> http://www.opengroup.org/onlinepubs/009695399/utilities/cp.html
>
> Can anyone with a tru64 system tell me if this is supported or not? It is not
> on
> my HP-UX machine, which makes me think it probably is not on tru64 either.
> Can
> anyone with a tru64 system tell me?

Man page for Tru64 UNIX cp command:

<http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MA
N/MAN1/0571____.HTM>

Assuming your -L says -R follows symbolic links, then Tru64 UNIX
cp -r may be what you want.

Bob Harris

Dave

unread,
Nov 10, 2009, 9:21:36 AM11/10/09
to

Thank you, that was most helpful. There appears to be some ambiguity about how
hard and soft links are handled by POSIX, with the result that some options copy
hard and soft on one platform, and only soft on another.


What is the secret to finding the man pages? I found:

http://h20000.www2.hp.com/bizsupport/TechSupport/Product.jsp?lang=en&cc=us&taskId=101&prodClassId=10008&contentType=SupportManual&docIndexId=64255&prodTypeId=18964&prodCatId=391525&prodSubCatId=3197900

but both links to Tru64 documentation are broken. I have reported these to the
webmaster.

Bob Harris

unread,
Nov 10, 2009, 7:59:56 PM11/10/09
to

You can find all the Tru64 UNIX documentation at the following
link:
<http://h30097.www3.hp.com/docs/>

0 new messages