Spance

Results 5 comments of Spance

The `.usqlrc` is an empty file, and the `usql_static` was downloaded from https://github.com/xo/usql/releases/download/v0.19.1/usql_static-0.19.1-linux-amd64.tar.bz2

I tried many times and finally found the problem. My config file `$HOME/.config/usql/config.yaml` like this: ```yaml connections: xxx: xxxx init: | \echo date `date` ``` Then after deleting the `init`...

I repeat it again. ```shell ~$ cat .config/usql/config.yaml connections: xx: mysql://xxxx cr: mysql://xxxx init: | \echo `date` ~$ ./usql Type "help" for help. panic: runtime error: slice bounds out of...

Now I found the cause of this problem, because the output of the `date` command contains some unicode characters (non-ascii), causing the variable `i` calculation in the `Params.Get()` method to...