Shell panic on malformed find command: 'byte index is out of bounds'
Created by: fourohfour
Reproduction: Running the command find "./[.]*"
in ion shell causes a panic.
Expected behavior: A reasonable error message.
Actual behavior: Shell aborts with the following message:
thread 'main' panicked at 'byte index 9 is out of bounds of `"./[.]*"`', /checkout/src/libcore/str/mod.rs:2133:8
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Aborted (core dumped)
Build information:
ion-shell v1.0.3
Ubuntu 14.04.5 LTS