From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 25 Dec 2003 00:16:55 +0300 From: Alexey Voinov To: community@altlinux.ru Subject: Re: [Comm] =?koi8-r?B?+sHNxc7BIMvPzsPP1yDT?= =?koi8-r?B?1NLPyw==?= Message-ID: <20031224211655.GB24863@altlinux.ru> Mail-Followup-To: Alexey Voinov , community@altlinux.ru References: <200312241935.29739.LAV@VL3143.spb.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qlTNgmc+xy1dBmNv" Content-Disposition: inline In-Reply-To: <200312241935.29739.LAV@VL3143.spb.edu> User-Agent: Mutt/1.4.1i X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.3 Precedence: list Reply-To: community@altlinux.ru List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2003 21:16:58 -0000 Archived-At: List-Archive: List-Post: --qlTNgmc+xy1dBmNv Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit Vitaly Lipatov wrote > Ну никак не могу найти хоть один сетевой > ресурс, на котором внятно написано, как средствами > системы преобразовать концы строк CRLF<->CR (UNIX<->DOS) > Подскажите пожалуйста. Пытался мучать sed и tr, но не > получается... :( sed -e's/^M$//' < in.file > out.file ^M вводится как ctrl-v ctrl-m -- Best Regards! | "Sometimes you're the windshield Alexey Voinov | Sometimes you're the bug..." | voins@voins.program.ru voins@altlinux.ru --qlTNgmc+xy1dBmNv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/6gJF3FGE/YJu+jkRAlymAJ40dLvU8ZTggCLfmvkxoPebMh9kjQCfaO/J ZhtjXOIPnOl0rARK/mmBxVo= =UWHu -----END PGP SIGNATURE----- --qlTNgmc+xy1dBmNv--