D 2018-06-14T13:03:16.970 J assignee aku J closer nobody J comment Executing\sglob\scommand\swith\srepeated\s'directroy'\sswitch\sgives\smisleading\sexit\smessage.\sFor\sexample:\r\ninput:\sglob\s-dir\s/\s-dir\s/home\r\noutput:\s"-directory"\scannot\sbe\sused\swith\s"-path"\r\n\r\nThe\ssame\sis\sin\s-path\sswitch. J icomment Also\swith\s-path.\r\n\r\n%\sglob\s-path\s/\s-path\s/\sq\r\n"-path"\scannot\sbe\sused\swith\s"-directory"\r\n\r\nThis\ssituation\sdemands\ssome\stests\sbe\swritten.\r\n\r\nAttached\sis\sa\spatch\sthat\spasses\sthe\sTcl\stests. J login stu J mimetype text/plain J severity Minor J username stu K 2821897fffffffffffffffffffffffffffffffff U stu Z 914ea35ff947acad386dc537c98a9fa5