Quote:
|
Originally Posted by napolayan
BOFH,
if he just wants to compile the errors, wont 'filename 2> errorlog' work? why do we need to use make command? plz explain
|
As a programmer, I use makefiles to manage all my programs. Since he didn't specify, I used "make" in my example.
As to output, since we don't know for sure what program he's using and which error output he wants to see, redirecting all output to the error file could be productive (warnings are errors after all

). But for any output that's going to just STDERR then yea, your line would work.
Carl