This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
SQL in the Shell is a Marp-based presentation demonstrating how relational algebra operations can be implemented using Unix/Linux command-line tools. The presentation is designed to be shown alongside live terminal demos.
| SQL | Shell |
|---|---|
| SELECT * | cat |
| SELECT a,b | cut / awk |
| WHERE | grep / awk |
| UNION | cat a b | sort -u |
| EXCEPT | comm -23 |
| JOIN | join |
| CROSS JOIN | cartesian.sh |
npm install # Install dependencies
npm start # Live preview with hot reload (opens Chrome)
npm run build # Full build (og-image + slides) to dist/
npm run deck # Build slides only to dist/index.html
npm run og-image # Generate Open Graph imagePITCHME.md- Main presentation (Marp Markdown)themes/terminal.css- Custom dark terminal themework/- Demo materials for live presentationDEMO.md- Step-by-step terminal commands aligned with slidesdemo/- Small example datasets (5 rows each) for live demosCustomer_*.csv,Shipping.csv- Full sample datasetsbin/cartesian.sh- Cartesian product script (-d delimiter, -t for tabs)
The slides are meant to accompany live terminal demos. Use work/DEMO.md as a script - it contains all commands to run for each slide.
GitHub Actions deploys to GitHub Pages on push to master. Live at: https://eigenfunk.github.io/sql-in-the-shell/
Use \"u instead of UTF-8 ü in \text{} blocks to avoid MathJax rendering issues.