Path: utzoo!utgpu!watmath!iuvax!rutgers!usc!pollux.usc.edu!addison From: addison@pollux.usc.edu (Richard Addison) Newsgroups: comp.sys.amiga.tech Subject: Re: Elinating the 'rx' from AREXX Summary: Shell specification Message-ID: <19146@usc.edu> Date: 12 Aug 89 21:19:20 GMT References: <1989Aug8.214011.3351@agate.berkeley.edu> <479@tw-rnd.SanDiego.NCR.COM> <89222.093949UH2@PSUVM> Reply-To: addison@pollux.usc.edu (Richard Addison) Organization: University of Southern California, Los Angeles, CA Lines: 17 In article <89222.093949UH2@PSUVM> UH2@PSUVM.BITNET (Lee Sailer) writes: >On IBM's CMS (the home of the original REXX) there is a kludgy but simple >convention for distinguishing REXX files from the older EXEC files which >could be used to distinguish AREXX from AmigaDOS scripts, too. On CMS, >if the script starts with a comment on line one, then it is REXX. This >is perhaps similar to the UNIX convention of putting (something like) >#!/bin/sh at the beginning of a script to tell the C shell to use the >Bourne shell, instead. If I remember correctly, /bin/sh is the default shell for executing scripts unless another shell is specified on the first line. I'd like something of this ilk for AmigaDOS. That way, we can support other script interpreters that launch automatically. Like PERL for instance! Richard Addison "Who is this guy? And why is he posting so much all of the sudden?"