Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2020-10-08
10:39 • Closed ticket [2821897fff]: Not appropiate exit msg in glob cmd plus 7 other... artifact: ea58e62652 user: jan.nijtmans
2020-10-06
19:43 • Ticket [014ade1d44] Misleading error message when using "-path" multip... artifact: 322db23c61 user: patthoyts
2018-06-14
13:05 • Add attachment 2821897fff.patch to ticket [2821897fff] artifact: e8a236b7f4 user: stu
13:03 • Ticket [2821897fff] Not appropiate exit msg in glob cmd status still Open wi... artifact: d2524f605f user: stu
2009-07-15
23:00 • Ticket [2821897fff]: 1 change artifact: 57e1824b0e user: dgp
14:24 • New ticket [2821897fff]. artifact: 55deff687d user: rszulgo

Not appropiate exit msg in glob cmd

Closed / Duplicate2821897fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 6 years ago
Descriptionplain2009-07-15 14:24:01
Executing glob command with repeated 'directroy' switch gives misleading exit message. For example:
input: glob -dir / -dir /home
output: "-directory" cannot be used with "-path"

The same is in -path switch.
dgp Ticket [2821897fff]: 1 change [History diff]2009-07-15 23:00:28
stuplain2018-06-14 13:03:16
Also with -path.

% glob -path / -path / q
"-path" cannot be used with "-directory"

This situation demands some tests be written.

Attached is a patch that passes the Tcl tests.
jan.nijtmanswiki2020-10-08 10:39:44

Duplicate of [014ade1d44]

Log in (anonymous is fine) to add a comment.

Attachments: