From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Mikhail Zabaluev To: Altlinux Message-ID: <20020115092809.GC23520@mhz.mikhail.zabaluev.name> Mail-Followup-To: Mikhail Zabaluev , Altlinux References: <20020114200401.A605@monster> <20020114195437.GI29299@lic145.kiev.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20020114195437.GI29299@lic145.kiev.ua> User-Agent: Mutt/1.3.25i Subject: [mdk-re] Re: Convert DOS and Unix Sender: mandrake-russian-admin@altlinux.ru Errors-To: mandrake-russian-admin@altlinux.ru X-BeenThere: mandrake-russian@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: mandrake-russian@altlinux.ru List-Help: List-Post: List-Subscribe: , List-Id: Linux-Mandrake RE / ALT Linux discussion list List-Unsubscribe: , List-Archive: Date: Tue Jan 15 12:27:08 2002 X-Original-Date: Tue, 15 Jan 2002 12:28:09 +0300 Archived-At: List-Archive: List-Post: Hello Michael, On Mon, Jan 14, 2002 at 09:54:37PM +0200, Michael Shigorin wrote: > > On Mon, Jan 14, 2002 at 08:04:01PM +0300, Pankratov Artem wrote: > > Как можно просто сконвертировать текстовый файл между двумя кодировками > > Dos and Unix (кои8-р и cp866). Нужно чтобы текст набранный в Linux > > в Dos читался не в одну строчку (замена символов перевод строки и возврат > > каретки) > Это прекрасно решает iconv (iconv -fcp866 -tkoi8-r < dos.txt > unix.txt) AFAIK, он не перекодирует концы строк. Утилита recode делает всё. -- Stay tuned, MhZ JID: mookid@jabber.org ___________ What is wanted is not the will to believe, but the will to find out, which is the exact opposite. -- Bertrand Russell, "Skeptical Essays", 1928