This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Within a directory, output all c++ sources and headers that DO NOT contain the word "Copyright" | |
# (i.e., are likely missing a copyright header.) | |
# | |
# (Or use -l to find files that DO contain the word) | |
find . -name '*.[c|h]pp' -print | xargs grep -L Copyright | |
# Open a manpage in BBEdit all cleaned up | |
man $1 | col -bx | bbedit -t "manpage: $1" --clean --new-window |
NewerOlder