delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/14/22:53:47

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Olivier Lefevre <lefevrol AT yahoo DOT com>
Subject: source command horribly broken after Cygwin update
Date: Sun, 15 Jul 2007 04:49:35 +0200
Lines: 31
Message-ID: <f7c26p$clo$1@sea.gmane.org>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019