X-Spam-Check-By: sourceware.org Date: Sat, 4 Feb 2006 19:58:14 +0200 From: Rokas Masiulis To: cygwin AT cygwin DOT com Subject: sed Message-ID: <20060204175814.GA50356@uosis.mif.vu.lt> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i 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 Hi, i can't force to work sed in true binary mode: this is test case: $ echo -en '\r\n' | sed -e '' | od -t x1 0000000 0a 0000001 but expected result is: $ echo -en '\r\n' | od -t x1 0000000 0d 0a 0000002 on linux this thing works: user AT linux $ echo -en '\r\n' | sed -e '' | od -t x1 0000000 0d 0a 0000002 some info: $ mount C:\cygwin\bin on /usr/bin type system (binmode) C:\cygwin\lib on /usr/lib type system (binmode) C:\cygwin on / type system (binmode) c: on /cygdrive/c type system (binmode,noumount) e: on /cygdrive/e type system (binmode,noumount) f: on /cygdrive/f type system (binmode,noumount) g: on /cygdrive/g type system (binmode,noumount) $ echo "$CYGWIN"x x roma1390 -- 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/