*BSD News Article 67676


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!in-news.erinet.com!bug.rahul.net!rahul.net!a2i!ns2.mainstreet.net!ns1.aplatform.com!news.aimnet.com!not-for-mail
From: trh@aimnet.com (TRH TRH)
Newsgroups: comp.unix.bsd.misc
Subject: Q: How to create executable files?
Date: 4 May 1996 18:51:50 GMT
Organization: Aimnet Information Services
Lines: 21
Message-ID: <4mg906$ghv@news.aimnet.com>
NNTP-Posting-Host: shell1.aimnet.com
X-Newsreader: TIN [UNIX 1.3 950621BETA PL0]

Hello:

I am trying to create small executable files. For example something like



elm -s trh $1 < $1

After typing it into a file and issuing comand chmod +x on that file
I expect it to work with a parameter I supply in lieu of '$1'.

It does not work on a new account that is running BSD. It does
run on SunOS, AIX etc.

I get the error message 'comand not found'.

What am I doing wrong?

Thanks,

Al