Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!epiwrl!epimass!jbuck From: jbuck@epimass.UUCP (Joe Buck) Newsgroups: comp.os.eunice Subject: Re: vms format files and unix format files Message-ID: <986@epimass.UUCP> Date: Wed, 18-Mar-87 17:20:45 EST Article-I.D.: epimass.986 Posted: Wed Mar 18 17:20:45 1987 Date-Received: Fri, 20-Mar-87 04:19:52 EST References: <1250@uwmacc.UUCP> Reply-To: jbuck@epimass.UUCP (Joe Buck) Organization: Entropic Processing, Inc., Cupertino, CA Lines: 24 Keywords: how to tell when. In article <1250@uwmacc.UUCP> edwards@uwmacc.UUCP (mark edwards) writes: > > I have been playing around with rrn on Eunice these days and have > notice some interesting (read: very frustrating and maddening ) > features of Eunice. You aren't alone. I did the Eunice code for 2.11 news. What a bitch! Shell scripts must be in "VMS format" (specifically, variable length, carriage return format) to be executable. Otherwise Eunice thinks you're trying to execute a VMS image, and you get strange error messages indicating that you're executing an invalid image (something about $IMGACT failing). You can say "sh file" or "csh file" regardless of format, though. But Wollongong could have had the exec call check for the "#!" magic cookie regardless of format, thus avoiding this problem. But NOOOOO! Also, doing random seeks and modifications to a file only works if it's in Unix format. Never let your active file get in VMS format, or all bets are off. Your news system will be trashed. -- - Joe Buck {hplabs,ihnp4,sun,ames}!oliveb!epimass!jbuck seismo!epiwrl!epimass!jbuck {pesnta,tymix,apple}!epimass!jbuck Entropic Processing, Inc., Cupertino, California