ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@alt-linux.org>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] replace
Date: Tue Jun 26 00:45:12 2001
Message-ID: <20010626005927.A1665@localhost.localdomain> (raw)
In-Reply-To: <20010625200359.3579b5e2.sass@uustoll.ee>; from sass@uustoll.ee on Mon, Jun 25, 2001 at 08:03:59PM +0200

Hello Aleksandr,

On Mon, Jun 25, 2001 at 08:03:59PM +0200, Aleksandr Blohin wrote:
>
> On Mon, 25 Jun 2001 20:40:43 +0400
> Aleksey Novodvorsky <aen@altlinux.ru> wrote:
> 
> AN> On Mon, 25 Jun 2001 16:47:23 +0200
> AN> Aleksandr Blohin <sass@uustoll.ee> wrote:
> 
> >> Добрый день!
> >> Раньше, в MDK 7.0RE, была прога - replace. 
> >> К какому пакету она принадлежит? А то тогда не посмотрел, а
> >> теперь не
> >> нашёл.
> AN> Она была в пакете replace. Но глюкава, потому выкинули.
> AN> Используйте perl -pi -e 's/XXX/YYY/g' filename
> 
> AN> Rgrds, AEN
> 
> Большое спасибо!

Вдогонку:

1) читайте 'man perlre' и 'man perlop' - главу 'Regexp ...'
2) если не до конца уверены в результате, лучше подстраховаться:
perl -pi.bak -e 's/XXX/YYY/g' filename

-- 
Stay tuned,
  MhZ                                     JID: mookid@jabber.org
___________
Delta: We never make the same mistake three times.   -- David Letterman



  reply	other threads:[~2001-06-26  0:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-25 18:32 Aleksandr Blohin
2001-06-25 20:25 ` Aleksey Novodvorsky
2001-06-25 21:54   ` Aleksandr Blohin
2001-06-26  0:45     ` Mikhail Zabaluev [this message]
2001-06-26 13:47       ` Aleksandr Blohin
2001-06-29 12:12   ` Re[2]: " Leonid L. Khachaturov
2001-06-29 12:17     ` Artem K. Jouravsky
2001-06-29 12:25       ` Mikhail Zabaluev
2001-06-29 13:09         ` Artem K. Jouravsky

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=20010626005927.A1665@localhost.localdomain \
    --to=mhz@alt-linux.org \
    --cc=mandrake-russian@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