Skip to content

Instantly share code, notes, and snippets.

View adamburns7933's full-sized avatar

Adam Burns adamburns7933

View GitHub Profile
@Sonictherocketman
Sonictherocketman / todolist.sh
Last active May 20, 2024 22:38
Create a continuously updated todo list from code comments. https://brianschrader.com/archive/todolist/
#! /bin/bash
# Given the current working directory, find all of the files of the
# type given and search for TODO comments in them and return a list
# of these items.
#
# Usage: todolist <dir> '*.py'
DIR=$1
if [ -z "$DIR" ]; then
DIR="."