fpb@ittc.wec.com (Frank P. Bresz) (05/22/91)
Hi there, I am having a problem porting some 'sh' code from a Sun (SunOS4.1) to an Ultrix machine. I made the mistake of discovering functions in the 'sh' on the Sun and overused them. So I figured, OK just run sh5 on the Ultrix platform. Problem is unrelated to functions. I have a program that outputs to fd's 1,3,4. Under sh I say : infile=filenumber0 outfile1=filenumer1 outfile3=filenumer3 outfile4=filenumer4 prog < $infile > $outfile1 3> $outfile3 4> $outfile4 And all 3 files have the correct contents. Under sh5 using the same exact code filenumber4 is zero length. Any one know what is going on. -- | () () () | Frank P. Bresz | Westinghouse Electric Corporation | \ /\ / | fpb@ittc.wec.com | ITTC Simulators Department | \/ \/ | uunet!ittc!fpb | Those who can, do. Those who can't, simulate. | ---------- | +1 412 733 6749 | My opinions are mine, WEC don't want 'em.