Closed theclapp closed 2 years ago
Hey @mvdan can we get this fixed? I've run into this as well with my experimental Go Linux(ish) 😅
Took a brief look, wasn't as tricky to fix as I initially thought. It looks like this was a somewhat recent regression, from https://github.com/mvdan/sh/pull/771.
I can confirm your patch fixed this bug. But now I'm wondering, does this library support globbing on the shell? It doens't seem to 🤔
It certainly should. The test I added shows it, since it matches main.go and main_test.go.
It certainly should. The test I added shows it, since it matches main.go and main_test.go.
Yeah I saw. Don't worry it's likely a bug in my implementation of ls
😅
Running
echo *
ingosh
in interactive mode hangs forever until you press enter (or ^D):Running
echo **
requires pressing enter twice:Weird.
Originally posted by @theclapp in https://github.com/mvdan/sh/issues/834#issuecomment-1083152384