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/

Reply via email to