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: Thu, 30 May 2002 23:32:13 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Difference between Sun OS and cygwin? Message-ID: <20020531033213.GA11456@redhat.com> 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.3.23.1i On Fri, May 31, 2002 at 01:23:05PM +1000, Robert Mark Bram wrote: >Can anyone tell me why I am seeing this difference between Sun and Cygwin? > >On a Sun machine > >bash-2.03$ cat > filter >one.doc >^C >bash-2.03$ cat filter >one.doc >bash-2.03$ grep .doc$ filter >one.doc >bash-2.03$ cat filter | grep .doc$ >one.doc >bash-2.03$ > >Robert Mark Bram AT DIJONG /home/Rob/ >$ cat > filter >one.doc > > >On Cygwin > >Robert Mark Bram AT DIJONG /home/Rob/ >$ cat filter >one.doc > >Robert Mark Bram AT DIJONG /home/Rob/ >$ grep .doc$ filter >one.doc > >Robert Mark Bram AT DIJONG /home/Rob/ >$ cat filter | grep .doc$ one.doc undoubtedly has a CRLF line ending. od -c would probably demonstrate this. cgf -- 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/