StevenHickson / PiAUISuite

Raspberry PI AUI Suite
Other
695 stars 210 forks source link

$2 vairable returns a single letter variable instead of entire word. #34

Open rwilli30 opened 9 years ago

rwilli30 commented 9 years ago

I have installed a program that pulls up songza via cli. The command looks like rick~$gl <genre/activity/mood> <specific genre/activity/mode>

So in my commands.conf I input... songza $1 $2==gl $1 "$2" <---parantheses in case the specific genre/activity/mood is more than one word.

If I try the voice input of songza genre metal The screen readout shows.. songza GENRE "M"

It always returns a single letter for the variable. I cant figure out what is going on. Little help?

Thanks!

tlverwijst commented 9 years ago

I can second this. In my experience Its not necessarily the '$2' var, but rather the last one, followed by the '=='

Alexandre-Georges commented 9 years ago

Same issue, I confirm what @tlverwijst said.

darkstardxm commented 9 years ago

Yep, I have this problem as well, is it a regex problem maybe?