delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/04/22:42:28

X-Spam-Check-By: sourceware.org
Message-ID: <4524711A.9090900@byu.net>
Date: Wed, 04 Oct 2006 20:42:34 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, Patrick DOT Ring AT ngc DOT com
Subject: Re: 1.5.21: problem with source command in bash
References: <52B67E1F32707847B44B4B7B1238E36303CDFEC0 AT xmbv3801>
In-Reply-To: <52B67E1F32707847B44B4B7B1238E36303CDFEC0@xmbv3801>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Ring, Patrick on 10/4/2006 3:07 PM:
> I am having a problem with the "source" command in bash (3.1-9).
> When I try to source a file with aliases in it, the aliases get garbled
> so that they don't work.  When I type "alias" on the command line, I can
> see that it is incorrect.  Other commands also do not work, usually
> giving an error like "command not found".
> Example:
> Put the line
>    alias ls='ls -F'
> in a file called trysrc.  Inside bash, cd to the directory and type
>    source trysrc

Then type 'd2u trysrc' and try again.  I suspect line endings here; read
the release announcement.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
volunteer cygwin bash maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFJHEa84KuGfSFAYARAtR0AKDXMpdhxNzHmrmzaqbrRebIisdh8wCggwv1
RLY00XaTItzhGDk8QqukK0Q=
=FRl3
-----END PGP SIGNATURE-----

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