Re: A file is not always what you think it is.
Antal Ritter:
> That's it. #!/bin/sh would be ok, but the kernel (?) will not find
> #!/bin/sh<CR>, and that's what the "file not found" referred to. This is
> one of my favourites.
Which, of course, suggests an alternative solution :-)
ln -s /bin/sh /bin/sh^M
(Which wouldn't work very well unless you made /bin/sh^M a somewhat hacked
shell that handles DOS line ends; perhaps bash could do that automatically
when invoked as bash^M.)
Never mind.
Jiri
--
<jiri@baum.com.au>
We'll know the future has arrived when every mailer transparently
quotes lines that begin with "From ", but no-one remembers why.
Reply to: