# Filters a project overview sheet to # make it more suitable for printing # Don't print out blank lines /^\n*$/d #1y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/ 1{ s/.*/===============================================================================\n&/ t1 :1 s/ /* / t1 s/\]\*/] / } # Check if we need a blank line # [..] line followed by # simple line H x /^\[.*\].*\n\([^\[].*\)\?$/{ s/.*// p } x h # Print blank lines before the following /^Owner *:\|^Team *:\|^Value Provided (Objectives\/Goals)$\|^Output (Scope)$/s/^/\n/ # Don't print out finished/dropped tasks /^\[[fF][iI][nN]\]/d /^\[X\+\]/d # Don't print out risks /Risks \& Mitigation/,/^=\{79\}$/{/^=\{79\}$/!d;} # Don't print out completed/dropped milestones /Milestones/,/^=\{79\}$/{/->/d;/\[DONE\]/d;/\[DROPPED\]/d;} # Drop the Log entries /^Project Diary\/Change Log$/,$d