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 Message-Id: <200208211815.NAA05234@dsl-64-193-24-45.telocity.com> To: cygwin AT cygwin DOT com Subject: sed VS cat,less,grep,egrep,awk,tac,head,tail,tee; sed not "binary" in pipe (1.3.12) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 21 Aug 2002 13:15:43 -0500 From: meant to bounce Try: printf "hi\r\n"|sed '/foo/d'|od -a Notice that the "\r" is filtered out. Only sed acts this way, cat,less,grep,egrep,awk,tac,head,tail, and tee all pass the carriage return through. It would be nice if "sed" behaved consistently w/r to all the other tools above. thanks/regards, -- Tom Rodman perl -e 'print unpack("u", "\.\=\$\!T\