'> /dev/null 2>&1' equivalent?

[email protected] (Michael G Schwern) Sat, 16 Nov 2002 21:56:22 -0500
Newsgroups perl.macperl.porters
Message-ID <[email protected]>
MakeMaker defines a macro to tack onto the end of a shell command to make it
silent.  DEV_NULL.

On Unix its '> /dev/null 2>&1'.
Windows defines it as '> NUL'.

MacOS Classic doesn't have a definition and that causes problems.  It means
more code that really has to be is overriden in MM_MacOS.pm to strip out
$(DEV_NULL) calls.

Is there something MakeMaker can stick on the end of a command in the MPW
shell (I think its the MPW shell that MM_MacOS is typically run with) to
supress its output?


-- 

Michael G. Schwern   <[email protected]>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <[email protected]>         Kwalitee Is Job One
There is a disurbing lack of PASTE ENEMA on the internet.