https://github.com/binki/random_comedy
#retrobox quotedb
https://github.com/binki/random_comedy
Last synced: 8 months ago
JSON representation
#retrobox quotedb
- Host: GitHub
- URL: https://github.com/binki/random_comedy
- Owner: binki
- Created: 2015-01-15T06:32:37.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-15T06:32:54.000Z (over 11 years ago)
- Last Synced: 2025-01-11T02:24:39.993Z (over 1 year ago)
- Language: C
- Size: 148 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
To test:
DBFILE=database.sqlite3
rm -f "${DBFILE}"
gcc -o comedy4sqlite{,.c}
{ cat bot_schema.sql; ./comedy4sqlite < random_comedy.txt; echo 'SELECT * FROM lrb_quotes;'; } | sqlite3 "${DBFILE}" | wc -l
wc -l random_comedy.txt
The `random_comedy.txt` originates from
http://beige-box.com/random_comedy.txt.