When I try to print out latex source code with
I get error messages from egrep like
egrep: Das Ende des angegebenen Intervalls ist nicht gültig
which translates to "the end of the given interval is invalid." After that texi2dvia4ps tries to compile my tex file and fails. I can print other source code just fine. Any idea what's wrong?
Edit: jofels answer fixes the problem with egrep. a2ps still tries to compile my .tex file instead of pretty printing it as source code. Using
a2ps --delegate=no somefile.tex
stops it (partly) from doing so. Minor commands like \item or \phi are still interpreted instead of printed out as they are in the file.