From: "Iñaki Baz Castillo" Date: 2010-01-16T08:45:44+09:00 Subject: Re: How to know if $stderr is reopened to /dev/null El Sábado, 16 de Enero de 2010, Steven Parkes escribió: > > Hi, how could I know if $stderr has been redirected to /dev/null? > > On anything sufficiently Unix-like, you could fstat the filehandle and stat > the path (/dev/null) and check the major and minor device numbers. Thanks. However $stderr.tty? seems simpler for my requeriments :) -- Iñaki Baz Castillo