tmonjalo/choose — Issue #1: sometimes '/' in default value confuses choose
Author: agateau
Created: 2012-01-30 14:23:52+00:00
State: open

If I run this:

echo "a\nb/c" | choose b/c

Choose works well. But if I run this instead:

echo "foo\nbar/baz" | choose bar/baz

The choice list is corrupted, it looks like this:

foo
foo/baz

(The second "foo" is highlighted)

Additionally, sed complains:

sed: can't find label for jump to `az$/='