This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: 1.5.21: problem with source command in bash
- From: "Ring, Patrick " <Patrick dot Ring at ngc dot com>
- To: "Eric Blake" <ebb9 at byu dot net>, <cygwin at cygwin dot com>
- Date: Thu, 5 Oct 2006 11:25:57 -0400
- Subject: RE: 1.5.21: problem with source command in bash
That did it. Thanks. I'll have to read the release more closely.
-----Original Message-----
From: Eric Blake [mailto:ebb9@byu.net]
Sent: Wednesday, October 04, 2006 10:43 PM
To: cygwin@cygwin.com; Ring, Patrick
Subject: Re: 1.5.21: problem with source command in bash
-----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@byu.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/