From: "Дорогов Николай" <support@planetashop.ru>
To: <community@altlinux.ru>
Subject: Re: [Comm] Поиск и замена
Date: Tue, 19 Apr 2005 16:51:52 +0400
Message-ID: <011e01c544de$8f6422a0$0200a8c0@admin> (raw)
In-Reply-To: <4264FA6F.8070803@altlinux.ru>
> On 19.04.2005 16:20, Дорогов Николай wrote:
> > Подскажите чем из стандартного можно
> > в большом количестве текстовых файлов произвести замену одной строки на
> > другую,
> > желательно в консоли и с рекурсией по вложенным папкам.
> Помнится, я для таких целей пользовался rpl (apt-get install rpl),
> причём когда та же проблема была на SuSE, пришлось притащить пакет из
> ALT - родного не нашёл. Так что стандартным я это назвать не могу и
> присоединяюсь к предыдущему оратору - sed.
Как я понял из man, sed не меняет исходный файл а выводит данные в
стандартный вавод.
Есть ли команды которые позволяют делать замены прям в том файле который
читается?
>
> --
> Alexey "Ktirf" Rusakov
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> https://lists.altlinux.ru/mailman/listinfo/community
next prev parent reply other threads:[~2005-04-19 12:51 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-19 12:20 ` Eugene A. Suchkov
2005-04-19 12:32 ` Alexey Rusakov
2005-04-19 12:51 ` Дорогов Николай [this message]
2005-04-19 12:52 ` Alexey Rusakov
2005-04-19 13:08 ` [Comm] [JT] " Michael Isachenkov
2005-04-19 13:12 ` Re[2]: " Anton Gorlov
2005-04-19 13:18 ` Michael Isachenkov
2005-04-19 13:13 ` Olvin
2005-04-19 13:21 ` Alexey Rusakov
2005-04-19 14:02 ` Michael Isachenkov
2005-04-19 14:53 ` [Comm] " Michael Shigorin
2005-04-19 16:45 ` Michael Isachenkov
2005-04-19 17:06 ` Michael Shigorin
2005-04-19 17:10 ` Michael Isachenkov
2005-04-19 21:32 ` Olvin
2005-04-20 12:09 ` Michael Shigorin
2005-04-20 13:28 ` Andrey Rahmatullin
2005-04-20 13:56 ` Дорогов Николай
2005-04-19 12:55 ` [Comm] " Nick S. Grechukh
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='011e01c544de$8f6422a0$0200a8c0@admin' \
--to=support@planetashop.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