This is the mail archive of the
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.
From: Eric Blake [mailto:firstname.lastname@example.org]
Sent: Wednesday, October 04, 2006 10:43 PM
To: email@example.com; Ring, Patrick
Subject: Re: 1.5.21: problem with source command in bash
-----BEGIN PGP SIGNED MESSAGE-----
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".
> 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 firstname.lastname@example.org
volunteer cygwin bash maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v184.108.40.206 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html