#!/bin/bash # todo - A Bash script that scans a directory for source files with TODO # comments and writes these to a TODO file for reference. # Version 0.1.0 # Written May 2005 by Michael V. De Palatis # This script is freely distributable under the terms of the GNU GPL. # We wish to ignore backup *~ files (we don't want the same TODO twice). grep -n TODO $*/*[^~] > TODO