RFR: 755: Anything starting with a "/" is treated as a command

Magnus Ihse Bursie ihse at openjdk.org
Fri Feb 24 17:43:44 UTC 2023


On Fri, 24 Feb 2023 14:38:34 GMT, Vijay Kulkarni <duke at openjdk.org> wrote:

> 755: Anything starting with a "/" is treated as a command

An idea might be to compare if the entered text is "roughly" equals to a Skara command. This can be measured e.g. by comparing e.g. a simplistic soundex-conversion of the command, or possibly calculating the levenshtein distance; these algorithms sound a bit scary but should be rather simple to implement, if Java does not have anything similar already.

-------------

PR: https://git.openjdk.org/skara/pull/1479


More information about the skara-dev mailing list