Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Fri, 4 Jun 2004 13:22:15 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: `touch' created wrong file without giving error Message-ID: <20040604112215.GC13509@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i On Jun 4 08:41, Peter J. Acklam wrote: > I tried creating a file named " foo ", i.e., with two leading and > two trailing blanks using "touch". It turned out that "touch" > created the file, but without the two trailing blanks. It might > be that a file name with trailing blanks can't be created on an > NTFS file system, but "touch" shouldn't create the wrong file but > rather give an error telling that it failed. Silently creating > the wrong name is generally bad: That's exactly what Windows does. Trailing spaces and dots are silently ignored. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Co-Project Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/