source command horribly broken after Cygwin update

Olivier Lefevre lefevrol@yahoo.com
Sun Jul 15 02:53:00 GMT 2007


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?

Thanks,

-- O.L.






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



More information about the Cygwin mailing list