delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/03/10:35:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 3 Jun 2002 09:35:50 -0500
From: David T-G <davidtg-cygwin AT justpickone DOT org>
To: "CygWin Users' List" <cygwin AT cygwin DOT com>
Cc: Andrew Markebo <flognat AT flognat DOT myip DOT org>
Subject: Re: associating(?) .sh scripts
Message-ID: <20020603143550.GJ1231@justpickone.org>
References: <20020603132629 DOT GG1231 AT justpickone DOT org> <m3adqcpiab DOT fsf AT flognat DOT myip DOT org> <20020603142253 DOT GI1231 AT justpickone DOT org> <m3vg90o2ru DOT fsf AT flognat DOT myip DOT org>
Mime-Version: 1.0
In-Reply-To: <m3vg90o2ru.fsf@flognat.myip.org>
User-Agent: Mutt/1.3.99i

--kr14OxHsRwZHHqxS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Andrew --

=2E..and then Andrew Markebo said...
%=20
% [...]
% | It does not have a shebang line, since I never figured out how to
% | properly put one in (but also never needed one), and it is almost
% [...]
%=20
% Try to add a #!/bin/sh and see if you have some more luck this time.

Will do, but when I first discovered that

  ../meta-play.sh

didn't work I tried

  sh ../meta-play.sh

and it said "what??" and so I had to go to bash.  More details this
evening, I promise.


%=20
% Hmm do a mount to check which mode the CD is 'mounted' as, and use od
% to see if it is dos or unix newlines in the file.

Well, the script itself as well as the source dir are on my e: drive; as
part of the script it will cd to /f to read from the cd, but it starts
in the current directory, so I don't think the CD's mount should have
anything to do with it...  Does it?


%=20
%         /Andy
%=20
% --=20
%  The eye of the beholder rests on the beauty!


Thanks again & HAND

:-D
--=20
David T-G                      * It's easier to fight for one's principles
(play) davidtg AT justpickone DOT org * than to live up to them. -- fortune cookie
(work) davidtgwork AT justpickone DOT org
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


--kr14OxHsRwZHHqxS
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE8+37GGb7uCXufRwARAl/2AJ0Vf6vvZulvScRmq2feMtex/SEtdQCePvme
dC0amvTZjuoporv4wEhJZkw=
=YPYf
-----END PGP SIGNATURE-----

--kr14OxHsRwZHHqxS--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019