All Snippets
The latest code snippets.
Find and Replace with sed
Edit a file in place with sed -i, replacing matches globally.
Author:
chris
Loop Over Files in a Directory
Iterate over matched files with a glob — safe with nullglob set.
Author:
chris
List Comprehension Examples
Filter, map, and pair-build in single list-comprehension expressions.
Author:
chris
SQLite with the sqlite3 Stdlib
Create a table, insert rows, and query with parameterized SQL.
Author:
chris