.
D 2003-05-24T12:38:20
J assignee dkf
J cmimetype text/plain
J comment This\spatch\sadds\sTcl_FSEvalFileEx\spublic\sfunction,\swhich\ntakes\san\sencoding\sas\sargument\sand\suses\sit\sto\sread\sthe\nscript\sfile.\sUsing\sthis\sfunction,\sit\sadds\s-encoding\noption\sto\sthe\s[source]\scommand\sand\sto\sthe\stclsh\sshell.\ntclsh\saccepts\sthis\soption\sin\stwo\sforms:\n"tclsh\s-encoding\sname\sfile"\s\sand\s"tclsh\s-encoding:name\nfile".\sThe\ssecond\sform\sis\svery\suseful\swhen\sthe\sscript\nbegins\swith\s"#!/usr/bin/tclsh".\sIn\sUnix,\sonly\sone\sextra\nargument\scan\sbe\staken\sfrom\s"#!"\sline.
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter a_kovalenko
J subsystem 18.\sCommands\sM-Z
J title -encoding\soption\sfor\s[source]\sand\stclsh
J type Patch
K 742683ffffffffffffffffffffffffffffffffff
U a_kovalenko
Z 386b5d9f0519b8c15c0e546d6d03cee1