.
D 2000-10-26T00:57:05
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s5216\sBug\nVersion:\s8.3\nSubmitDate:\s'2000-04-20'\nLastModified:\s'2000-04-20'\nSeverity:\sLOW\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sWindows\sNT\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-04-20'\n\n\nName:\nJay\sSchmidgall\n\nReproducibleScript:\n#---------\sscript\s----------\nputs\s[\sinfo\sscript\s]\nputs\s[\sfile\sdirname\s[\sinfo\sscript\s]\s]\n#----------\send\s------------\n\nOn\sa\swindows\snt\sbox,\splace\sthe\sabove\sscript\sin\ssome\ssubdirectory,\slet's\ssay\sC:\\a\\b\\c\\d\sas\sa\sfile\sbug.tcl.\n\nNow,\sfrom\sthe\sroot\sdirectory,\sinvoke\sthe\sfile:\n\nC:\\>\stclsh83d\sC:\\a\\b\\c\\d\\test.tcl\n\nObservedBehavior:\nIn\sthe\sabove\scase,\sthe\soutput\sis\n\nC:\\a\\b\\c\\d\\test.tcl\nC:/a/b/c/d\n\nNote\sthe\sdifferent\sforward\sand\sbackward\sslashes.\sOf\scourse,\sinvoking\sthe\sscript\swith\sthe\scommand\n\nC:>\stclsh83\sC:/a/b/c/d/test.tcl\n\nworks\sokay,\sbut\sit\swould\sbe\snice\sif\swe\shad\sconsistent\sresults.\n\nDesiredBehavior:\nBoth\scommands\sreturning\sthe\sstring\swith\sforward\sslashes.\n\n\n\nThis\sis\sthe\scorrect\sbehavior.\s\s[info\sscript]\sreturns\sthe\strue\nvalue\spassed\sin,\sand\s[file\sdirname]\swill\salways\sreturn\sa\sTcl\nnormalized\sname.\s\sYou\scan\sget\sa\snative\sname\swith\sthe\sfile\nnative\scommand\sif\syou\sso\schoose.\s\n--\s04/20/2000\shobbs
J foundin obsolete:\s8.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Incorrect\sdirectory\sseparator\sreturned\sfrom\sinfo\scommand
J type Bug
K 218397ffffffffffffffffffffffffffffffffff
U nobody
Z e584476ea745392a70db1dfeff5c0255