X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-YMail-OSG: wdoovGUVM1nMSr6gehhMd8LXnu_gY6CnBi0G35WmkaRos8cILUTk2N9myDsQoH4xZ_qJVMcKYMVYZ1d.tIq7nPRNmXVfzGQX.aTc9wtX3A-- X-Yahoo-Newman-Property: ymail-3 Message-ID: <489F6346.6050404@sbcglobal.net> Date: Sun, 10 Aug 2008 21:53:10 +0000 From: Greg Chicares User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Funny behavior with echo command in bash_login References: <20080810213324 DOT GA1792 AT client-04> In-Reply-To: <20080810213324.GA1792@client-04> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/