I wrote:
> 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.
OK, I found the problem. At this website it states:
http://homepages.cwi.nl/~aeb/std/hashexclam-1.html
1.4 The #! line
The syntax is as follows: #! followed by optional whitespace followed by the
interpreter pathname optionally followed by (whitespace followed by
interpreter arguments) followed by newline.
-----
A newline. Hmm. We'll, I'm modifying this script using Programmer Studio.
I can get to the HPUX directory through a Samba-like program called VisionFS
(formerly of SCO). One can configure each share to translate CR/LF to LF by
file extension. This script has no extension and so there's CRs on the end
of the line. Good enough to screw up the first line and hence...
Any thoughts on a sed script to remove CRs from a group of text files? ;-)
Mark Wonsil
BTW, Evan Vaala came up with the same thought simultaneously, which puts me
in some pretty good company.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *