From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b27a6df16e1589f0,start X-Google-Attributes: gidfee84,public From: Usman Muzaffar Subject: no /dev/stderr ? Date: 2000/02/23 Message-ID: <38B48886.6AB7691C@thynne.psych.nwux.edu>#1/1 X-Deja-AN: 589099055 Content-Transfer-Encoding: 7bit Organization: Northwestern University, Evanston, IL, US X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Hi - Tru64 4.0 - I can't see a /dev/stderr in the device hierarchy. On other unices (linux, solaris) it's usually a symlink to the device that corresponds to fd 2. Can I create it myself? Isn't this POSIXish? Say I have a Bourne shell script whose output I want to direct to stderr or a file or /dev/null, depending on a switch. How can I do it if there's no way to reference /dev/stderr ? thanks, usman remove x from above to reply, if present