Say for example I have a file with contents like this:
# TODO: Optimize this.
alias bash='start bash'
# FIXME: Just fix this.
alias fix='there is something wrong with this
What I want is if I search for pattern TODO: it should only print result like this:
# TODO: Optimize this.
alias bash='start bash'
Is this possible?