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: source command horribly broken after Cygwin update


Olivier Lefevre wrote:
Current bash version is 3.2.17(15)-release. When I read an alias file
with source weird results ensue. E.g., if the alias file is

  alias rm='rm -i'
  alias mv='mv -i'

then 'source /etc/alias' followed by 'alias' shows

  'lias mv='mv -i
  'lias rm='rm -i

A related problam exists with env file. E.g., after sourcing

  STUFF_HOME="c:\\aa\\bb\\cc"
  CLASSPATH="c:\\dd\\ee;$STUFF_HOME\\ff\\gg"

$STUFF_HOME is fine but $CLASSPATH is now

\ff\ggee;c:\aa\bb\cc

alias and env assignment work fine from the command line, so this
is a source issue. Does anyone have an idea of what is causing this
nonsense?

Yes. Did you read the announcements/README?


<http://cygwin.com/ml/cygwin-announce/2007-05/msg00003.html>

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

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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