<i>Misleading error message when using "-path" multiple times with "glob"</i>.
by
.
D 2020-10-06T18:50:03.285
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment Running\sthe\sinvalid\scommand\r\n\r\n\s\sglob\s-path\s/etc\s-path\s/usr/share\s*bash*\r\n\r\nwill\sgive\sthe\sfollowing\serror\smessage:\r\n\r\n\s\s"-path"\scannot\sbe\sused\swith\s"-directory"\r\n\r\nThe\scommand\sdidn't\scontain\s"-directory",\showever.\r\n\r\nWhat\sit\sshould\sreally\ssay\sis\ssomething\slike\r\n\s\s\r\n\s\s"-path"\scan\sonly\sbe\sgiven\sonce\r\n\r\nor\r\n\r\n\s\sat\smost\sone\sinstance\sof\s"-path"\scan\sbe\sgiven\r\n\r\nThe\ssame\sproblem\soccurs\swhen\susing\s"-directory"\stwice:\r\n\r\n\s\s%\sglob\s-directory\s/etc\s-directory\s/usr/share\s*bash*\r\n\s\s"-directory"\scannot\sbe\sused\swith\s"-path"\r\n\r\nDiscussion\sof\sthis\sissue\son\sthe\sIRC\schannel\salready\srevealed\sthat\sthe\serror\sis\sin\stclFileName.c,\sline\s1309,\sin\score-8-6-6.
J foundin 8.6.6
J is_private 0
J login anonymous
J priority 5\sMedium
J private_contact b0023a032b39bf3293cac200ed7049f93754ec84
J resolution None
J severity Minor
J status Open
J submitter anonymous
J subsystem 16.\sCommands\sA-H
J title Misleading\serror\smessage\swhen\susing\s"-path"\smultiple\stimes\swith\s"glob"
J type Bug
K 014ade1d443142aafe9cf5ba3c271ff870b5c667
U anonymous
Z 20b983f172c76b116f2620923d94ecf2