ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexey Voinov <voins@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Замена концов строк
Date: Thu, 25 Dec 2003 10:01:10 +0300
Message-ID: <20031225070110.GA27674@altlinux.ru> (raw)
In-Reply-To: <200312250023.49406.LAV@VL3143.spb.edu>

[-- Attachment #1: Type: text/plain, Size: 809 bytes --]

Vitaly Lipatov wrote
> > > Ну никак не могу найти хоть один сетевой
> > > ресурс, на котором внятно написано, как средствами
> > > системы преобразовать концы строк CRLF<->CR (UNIX<->DOS)
> > > Подскажите пожалуйста. Пытался мучать sed и tr, но не
> > > получается... :(
> > sed -e's/^M$//' < in.file > out.file
> > ^M вводится как ctrl-v ctrl-m
> Вот оно что... 
> А ничего, что у меня в скрипте будут символы с кодами < 32 в 
> необычном месте?
Ничего. :)

> Но эти ctrl-v ctrl-m только для консоли. А как в mc/kate/cooledit 
> такое писать?
Точно также. В vi работает. В cooledit, насколько я помню, тоже. В mc и
kate ни разу не пробовал.

-- 
Best Regards!           | "Sometimes you're the windshield
Alexey Voinov           |  Sometimes you're the bug..."
			|
voins@voins.program.ru
voins@altlinux.ru


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-12-25  7:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-24 16:35 Vitaly Lipatov
2003-12-24 16:42 ` Sergey Vlasov
2003-12-24 16:59 ` Igor Homyakov
2003-12-24 17:59   ` Vitaly Lipatov
2003-12-26  7:19     ` Dmitry Azhichakov
2003-12-24 17:55 ` Sergey Lizogub
2003-12-24 18:12   ` V.Sokolov
2003-12-24 19:06     ` Vitaly Lipatov
2003-12-24 19:33       ` V.Sokolov
2003-12-24 21:19         ` Vitaly Lipatov
2003-12-24 21:24           ` Vitaly Lipatov
2003-12-26  7:52             ` Dmitry Alexeyev
2003-12-24 18:18   ` Vitaly Lipatov
2003-12-24 19:27     ` Sergey Lizogub
2003-12-24 19:36       ` Vitaly Lipatov
2003-12-24 21:16 ` Alexey Voinov
2003-12-24 21:23   ` Vitaly Lipatov
2003-12-25  7:01     ` Alexey Voinov [this message]
2003-12-25 14:43     ` Alexandr R. Ogurtzoff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031225070110.GA27674@altlinux.ru \
    --to=voins@altlinux.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git