Skip to content
kevin00036 edited this page May 31, 2013 · 2 revisions

TOC="SomeSubject"; ls -l $TOC | awk 'NF >= 7 { sub(/.md/, "", $9); sub(/-/, " ", $9); printf("* %s%s\n", $9, ($5 == 0) ? " (PENDING)" : ""); }' > $TOC.md