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]

Problem w/ built-in 'source' command in bash (version 3.2.9(11)-release


Hello,

I am having problems with 'source' (ie the built-in bash command) in version 3.2.9(11).  My intent
is to use this mechanism to setup the appropriate environment in the current bash-shell.  If I
source a test file containing nothing but 'ls'    

I get the following output:  source dsg-tst
   : command not found

What I've tried:
1. comment out all code in .bash_profile and .bashrc start a new shell, same problem with 'source'
2. Copied an older version of batch 3.1.17(6) into /usr/bin for 3.2.9(11) installation - this
works, as well as more elaborate files with environment variables, etc.
3. Just for grins I also tried: 'source dsg-tst' using zsh shell.  This works, as does the more
elaborate environment file.

I am mystified - has anyone seen this or have a suggestion?

Thanks,

Craig Steury


 
____________________________________________________________________________________
Never Miss an Email
Stay connected with Yahoo! Mail on your mobile.  Get started!
http://mobile.yahoo.com/services?promote=mail

Attachment: cygcheck.out
Description: 3924260979-cygcheck.out

--
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]