This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: bash-2.05b6 shell script fails
On Wed, Nov 06, 2002 at 05:02:12PM -0500, Harig, Mark A. wrote:
> It appears to be a problem with command substitution.
> The following script fails also:
>
> #!/bin/bash
> foo=foo1
> # simple assignment worked?
> bar=`echo`
> # command-substitution worked?
>
> When run in bash-2.05b6, the following results:
>
> $ uname -r
> 1.3.14(0.62/3/2)
>
> $ ./bug.sh
> ./bug.sh: line 5: command-substitution: command not found
I just figured that it's a line ending problem. It turned out that I
reintroduced the -4 bug mistakenly. I'm going to uploaded a -7 version.
Thanks for the report,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/