This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bash confusion


Fanie Nel wrote:
Hi,
I have a very stupid question:

I have just installed Cygwin on a new XP computer, and my bash scripts
will not run, for example:

When running a bash script containing a program name and a parameter file ie

pixelplot test.par

The pixelplot program runs but cannot find the test.par file ,located
in the same directory.

Furthermore changing directories , using cd, within a script does not work.

Any ideas?

Yes. First, please read through the bash announcement:


<http://cygwin.com/ml/cygwin-announce/2006-12/msg00008.html>

My WAG is that you'll find you have DOS line endings in your binary mounted
directories.  Run these scripts through 'd2u'.

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]