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: Eric Blake <ebb9 at byu dot net>
- To: cygwin at cygwin dot com, Patrick dot Ring at ngc dot com
- Date: Wed, 04 Oct 2006 20:42:34 -0600
- Subject: Re: 1.5.21: problem with source command in bash
- References: <52B67E1F32707847B44B4B7B1238E36303CDFEC0@xmbv3801>
-----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/