Funny behavior with echo command in bash_login
Greg Chicares
gchicares@sbcglobal.net
Sun Aug 10 23:11:00 GMT 2008
On 2008-08-10 21:33Z, Joe's wrote:
>
> echo ********************************************
[...results in...]
> Data Mail max_mem.c mbox msmtp.log procmail.log tmp
>
> Look at the last line, bash seen interpreted my echo
> command in last line as ls command, that not suppose to be.
See "shell expansions" in the bash manual.
> Finally I able to fix using slash in front of *
A more robust way is to quote it:
echo '***'
See "quoting" in the bash manual.
--
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/
More information about the Cygwin
mailing list