Skip to content
Tcl Source Code View Ticket
Login

View Ticket

file copy behav. for soft links not docd

Closed / Fixed476584ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-10-31 00:37:22
The behaviour of [file copy] for soft links is not 
documented. It copies the link itself and not the
file it refers to. Jeff told me that this is correct. 
I expected that [file copy] would behave like 'cp'.

Example:

# touch a
# ln -s a b
# tclsh
% file copy b c
% exit
# ls -l a b c
.... 0 a
.... 1 b -> a
.... 1 c -> a
vincentdarleyplain2001-11-02 19:06:20
Logged In: YES 
user_id=32170

added documentation to cvs.
Log in (anonymous is fine) to add a comment.