Path: utzoo!attcan!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.questions Subject: Re: correct isatty usage Message-ID: <2096@solo11.cs.vu.nl> Date: 24 Feb 89 12:46:30 GMT References: <18432@adm.BRL.MIL> <1161@tikal.Teltone.COM> Reply-To: maart@cs.vu.nl (Maarten Litmaath) Organization: VU Informatica, Amsterdam Lines: 11 In article <1161@tikal.Teltone.COM> dave@tikal.UUCP (David Karr) writes: \if ({`test -t 0`}) then if ({ test -t 0 }) then or if { test -t 0 } then You want the exit status instead of the standard output from test. -- "Those who do not understand Henry |Maarten Litmaath @ VU Amsterdam: Spencer are condemned to reinvent DOS." |maart@cs.vu.nl, mcvax!botter!maart