Nivekk / KOS

Fully programmable autopilot mod for KSP.
Other
80 stars 30 forks source link

"delete atr." says "Volume `tr` not found" (0.84) (Workaround available.) #151

Closed weissel closed 11 years ago

weissel commented 11 years ago

Also happens with other file names (e.g. "ttm1", "executemn").

Delete atr from 1 does work though.

xZise commented 11 years ago

Okay, I was able to determine the problem: The command doesn't require a space, and the names are matched with reluctant quantifiers. Meaning, that it tries to stop matching a name as soon as possible.

I'm not really sure why the quantifiers are defined as reluctant, but I (hopefully) supplied a fix for that which require a space between the file name and volume name.

Your workaround works, because the from or from volume require a space in front of it.

Fabian

Nivekk commented 11 years ago

I did accept I think all your changes that related to this and doesn't seem to be a problem anymore so I'll go ahead and close this.