Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2006-07-20
02:14 • Closed ticket [1525141fff]: file normalize returns empty string plus 9 other... artifact: 58e08cb97a user: dgp
2006-07-19
09:51 • New ticket [1525141fff]. artifact: 55e9bb1abb user: mrohr

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.