q.sh
BASH
2021.03.06 17:56
#!/bin/bash
 
wget https://github.com/harelba/q/releases/download/2.0.19/q-text-as-data_2.0.19-2_amd64.deb
sudo dpkg -i q-text-as-data_2.0.19-2_amd64.deb 
wget https://gist.githubusercontent.com/sarchak/b87ad2be315ce05f7a047550646f3c41/raw/0c7d83608111f74f212398fc0d2a704e4f8dc499/diamonds.csv
q -HOd , "select * from diamonds.csv limit 10"