Subject: | |
From: | |
Reply To: | |
Date: | Thu, 26 Jun 2003 08:34:16 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
OK, it may just be too early but I am running into something that should be
easy.
I'm trying to run a script called: /disc2/edi/script/orasn
It does exist:
/disc2/edi/script> ll /disc2/edi/script/orasn
-rwxr-xr-x 1 jdrouil cmc 1133 Jun 25 13:03
/disc2/edi/script/orasn
But when I do, I get this message (under ALL users including root):
/disc2/edi/script> ./orasn
script interpreter "/usr/bin/sh" not found
sh: ./orasn: not found.
Oh really I ask? It seems to be here:
/disc2/edi/script> ll /usr/bin/sh
-r-xr-xr-x 2 bin bin 491520 Jun 29 1999 /usr/bin/sh
Here is the script:
#!/usr/bin/sh
# UNIX script /disc2/edi/script/orasn
rm /disc2/edi/data/orasn.fm
awk -f /disc2/edi/script/splitASN.awk /disc2/edi/data/orasn.dat
#
ftp -n -v < /disc2/edi/script/orasn.ftp | more
# Save back four generations.
touch /disc2/edi/data/orasn.dat
mv /disc2/edi/data/orasn.dat3 /disc2/edi/data/orasn.dat4
mv /disc2/edi/data/orasn.dat2 /disc2/edi/data/orasn.dat3
mv /disc2/edi/data/orasn.dat1 /disc2/edi/data/orasn.dat2
mv /disc2/edi/data/orasn.dat /disc2/edi/data/orasn.dat1
chmod 777 /disc2/edi/data/* 2> /dev/null
I found nothing on Google other than a type in the first line. Any
thoughts?
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|