With texdef it is easy to find definitions for (La)TeX commands. It can show what a definition for a given command is and also in what file it is to be found. Sometimes it would be convenient to also learn the line number for the definition it shows. Is this possible with texdef?
Take for instance \section. texdef -t latex -F section returns
\section first defined in "/usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls".
\section:
\long macro:->\@startsection {section}{1}{\z@ }{-3.5ex \@plus -1ex \@minus -.2ex}{2.3ex \@plus .2ex}{\normalfont \Large \bfseries }
For ease of getting to the definition of \section in article.cls it would be convenient to get the line number to where the definition starts so that I may open the file in an editor and go to that line number instead of having to search the file.