Newsgroups: comp.unix.ultrix
Path: utzoo!utgpu!watserv1!watcgl!idallen
From: idallen@watcgl.waterloo.edu (Ian! D. Allen [CGL])
Subject: Re: ATT C++ Release 2.1 under Ultrix 4.0
Message-ID: <1991Feb11.065121.12523@watcgl.waterloo.edu>
Organization: Computer Graphics Laboratory, University of Waterloo, Ontario, Canada
References: <91039.104006DEEJ@MAINE.BITNET>
Date: Mon, 11 Feb 1991 06:51:21 GMT
Lines: 23

In article <91039.104006DEEJ@MAINE.BITNET> DEEJ@MAINE.BITNET (Dj Merrill) writes:
>The compiler is made in 2 stages, a make scratch stage, which
>works fine, and a make munch stage, which gives the following
>after executing partway:
> 
>sh: illegal io
>*** Error code 1
>Stop.

You can't redirect I/O on certain Ultrix /bin/sh built-in commands, e.g.

   $ set >/tmp/foo
   [...lots of junk...]
   illegal io
   $ read junk </tmp/foo
   [...type one line here, then...]
   illegal io

If you run the script under /bin/sh5, which doesn't have these
problems, it may work.  Change the starting #!/bin/sh to #!/bin/sh5
-- 
-IAN! (Ian! D. Allen) idallen@watcgl.uwaterloo.ca idallen@watcgl.waterloo.edu
 [129.97.128.64]  Computer Graphics Lab/University of Waterloo/Ontario/Canada
