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

$ cat dos2unix
tr -d "\r"
$ cat unix2dos
awk '{ printf "%s\r\n", $0 }'
ну или 
sed s/\r/\r\n/
* Vitaly Lipatov <LAV@VL3143.spb.edu> [031224 18:44]:
> Ну никак не могу найти хоть один сетевой
> ресурс, на котором внятно написано, как средствами
> системы преобразовать концы строк CRLF<->CR (UNIX<->DOS)
> Подскажите пожалуйста. Пытался мучать sed и tr, но не 
> получается... :(

> -- 
> Lav
> Виталий Липатов
> Санкт-Петербург
> GNU! ALT Linux Team! LaTeX! LyX!
-- 
Igor Homyakov
<homyakov at altlinux dot ru>
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=190141


  parent reply	other threads:[~2003-12-24 16: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 [this message]
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
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=20031224165941.GC27351@kadath.office.spb.ramax.ru \
    --to=homyakov@ramax.spb.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