| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=0.1 required=5.0 tests=AWL,BAYES_00 |
| X-Spam-Check-By: | sourceware.org |
| Reply-To: | <michael DOT moser AT sunrise DOT ch> |
| From: | "Michael Moser" <michael DOT moser AT sunrise DOT ch> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | RE: sed converts 8-bit input text to 16-bit (Unicode-16?) characters - how to suppress that? |
| Date: | Mon, 30 Mar 2009 17:53:05 +0200 |
| Message-ID: | <21F96204FB10403FB43CFA97A7D4BBC8@SEMENTINA> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <20090330121043.GT12738@calimero.vinschen.de> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com=20
> [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Corinna Vinschen
> Sent: Montag, 30. M=E4rz 2009 14:11
> To: cygwin AT cygwin DOT com
> Subject: Re: sed converts 8-bit input text to 16-bit=20
> (Unicode-16?) characters - how to suppress that?
> > ...=20
> This is very likely not Cygwin's sed. Do you have another=20
> sed in $PATH by any chance?=20
I searched and did find another sed on my disk, but that was not in
the path. So - yes - I *am* using cycwin's sed.
> I tried with input files=20
> containing german umlauts and sed does not convert to wide=20
> char and it does not produce a BOM marker at the start of the file.
Maybe that conversion comes from me redirecting the output to a file
using=20
'sed {options} > filename.ext' ?!? I'll have to verify that!
There is no option to explicitly specify an output file, is there?
Michael
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |