-
-
Save xvzftube/a23e39a8105bbf4e4821a095400cc2e2 to your computer and use it in GitHub Desktop.
Using q to run sql-like commands in the command line.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment