.
D 2009-08-09T12:57:55
J assignee vincentdarley
J cmimetype text/plain
J comment Tcl\sversion:\s8.5.7,\salso\stested\son\s8.5.4,\s8.5.5\swith\sdifferent\sbehaviour\nOS\splattforms:\sLinux\s(ia32,\samd64),\sWindows\sXP\sProfessional\nProblem\sBehaviour:\n\s1.\sDepending\son\sTcl-version\sthe\s"special"\scharacters\s($,[,],\\,~)\sare\sinterpreted\sdifferent\sand\sincorrect.\n\s2.\sIncorrect\sinterpretation\sof\s"~"\scharacter,\sonly\smeaningfull\sat\sbeginning\sof\sa\sfilename\snot\son\sfull\spath\sor\sinside\sof\sa\sfilename.\s\n\s3.\sInterpretation\sof\s"$,[,],\\"\sin\sfile\sand\spathnames\s(violation\sof\stcl\s8.5\sinterpretation\srule\s[11]\sOrder\sof\ssubstitution).\n\s4.\sUsing\s[file\snormalize]\son\sfiles\sbefore\s[file\s...]\schanges\sthe\sbehaviour\s(makes\sfile\s"accessible"\sin\s8.5.7,\snot\sin\s8.5.4).\n\s5.\sAll\sinterpreted\sspecial\scharacters\sare\scommonly\sused\son\sWindows,\sother\sthan\son\sUnix\s(c-shell\sstyle)\s-\ssee\stopic\s4.\n\s6.\sFile\snormalize\sis\snot\spossible\son\srelative\spathnames\sif\sname\sbegins\swith\s"~"\s(correct\saccording\sdocumented\stilde\sinterpretation).\n\nExpected\sBehaviour:\s\s\n\s1,3.\sDisabling\sinfluence\sof\sspecial\scharacters\s"$,[,],\\"\sin\sfile\scommand.\n\s2.\sCorrect\sinterpretation\sof\s"~"\scharacter\s(only\sat\sbeginning\sof\sa\sfilename).\s\n\s4.\sClean\sup\s\s[file\snormalize]\shandling\s(EIAS\sviolation).\n\s5,6.\sAdd\sa\snew\soption\swhich\sallows\sto\signore\sany\sinterpretation,\sproposal:\s-nosubst.\n\nExample:\sattached\stcl\stest-script\nNecessary\senvironment\sfor\sattached\stest\sscript\sis\sa\sdirectory\sincluding\s8\sspecific\sfilenames:\n\n***\sFile\sname\slist\sof\sdir\s/net/pub/WinXP/test\n0:\s#\\!home\\!alina\\!name#\n1:\s$[filename].txt\n2:\s$filename.txt\n3:\s[filename].txt\n4:\sfilename[1].txt\n5:\sfile~name.txt\n5:\s./~$filename.txt\n6:\s./~[filename].txt\n7:\s./~filename.txt
J foundin obsolete:\s8.5.7
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter exgerhardr
J subsystem 36.\sPathname\sManagement
J title Bug\sin\shandling\s"special"\scharacters\sin\s[file]\sfunction
J type Bug
K 2834453fffffffffffffffffffffffffffffffff
U exgerhardr
Z a9d0b3a4e171846469e9c6abbb1578e9