detect stderr writes when combined

2007-06-08 Thread Robin Becker
This is possibly a stupid question, but I would like to have a particular sh script stdout and stderr combined, but at least detect when stderr has been used. In particular for my cron scripts it seems that error messages get wrapped up and emailed, but they are then out of context with the

Re: detect stderr writes when combined

2007-06-08 Thread Sten Daniel Soersdal
Robin Becker wrote: This is possibly a stupid question, but I would like to have a particular sh script stdout and stderr combined, but at least detect when stderr has been used. In particular for my cron scripts it seems that error messages get wrapped up and emailed, but they are then out