Skip to content
Tcl Source Code View Ticket
Login

View Ticket

file normalize returns empty string

Closed / Out of Date1525141fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2006-07-19 09:51:32
Under solaris "file normalize" returns an empty string
instead of "/":

[rmx05382:~]$ tclkit
% file normalize /lala/..
% file normalize /lala/../
% file normalize lala/..
/home/rmx05382
% info pat
8.5a4
dgpplain2006-07-20 02:14:37
Logged In: YES 
user_id=80530


I think this is a Dup. of 1379287.

Looks like your tclkit is
out of date.  From the Tcl 8.5a4
release of tclsh on Solaris:

% file normalize /lala/..
/
% file normalize /lala/../
/
% file normalize lala/..
/local/src/tcl8.5a4/solaris
% info pat
8.5a4
Log in (anonymous is fine) to add a comment.