ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vitaly Lipatov <LAV@VL3143.spb.edu>
To: community@altlinux.ru
Subject: Re: [Comm] Замена концов строк
Date: Wed, 24 Dec 2003 20:59:45 +0300
Message-ID: <200312242059.45495.LAV@VL3143.spb.edu> (raw)
In-Reply-To: <20031224165941.GC27351@kadath.office.spb.ramax.ru>

On 24 Декабрь 2003 19:59, Igor Homyakov wrote:
> $ cat dos2unix
> tr -d "\r"
Ну это понятно...

> $ cat unix2dos
> awk '{ printf "%s\r\n", $0 }'
> ну или
> sed s/\r/\r\n/
Вот не работает ни тот, ни тот вариант.
Хорошо вы навели меня на мысль поискать dos2unix и я нашёл пакет 
hd2u, в котором таки есть программа, в совершенстве владеющая 
переводом. А вот почему sed не работает, я до сих пор не 
понимаю.

-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! LaTeX! LyX!


  reply	other threads:[~2003-12-24 17:59 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 [this message]
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
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=200312242059.45495.LAV@VL3143.spb.edu \
    --to=lav@vl3143.spb.edu \
    --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