ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: vx 8400 <vx8400@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Восстановление списка пакетов
Date: Wed, 24 Mar 2010 09:29:41 +0100
Message-ID: <89eb42f1003240129n1619f10cqac41cf2f6c977255@mail.gmail.com> (raw)
In-Reply-To: <20100324081006.GU12359@wrars-comp.wrarsdomain>

24 марта 2010 г. 9:10  Andrey Rahmatullin:
> On Wed, Mar 24, 2010 at 09:04:11AM +0100, vx 8400 wrote:
>> rpm -qa | sed 's,-[0-9].*$,,' ?
> Нет (хотя контрпример искать неохота).

libntfs-3g

> Единственный правильный способ -
> брать до второго минуса с конца (на awk у меня это получилось сделать
> как-то ужасно, cut с конца не умеет).

rpm -qa | sed 's,-[^\-]\+-[^\-]\+$,,'

  reply	other threads:[~2010-03-24  8:29 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-24  7:32 Гусев В.Ю.
2010-03-24  8:01 ` Andrew Borodin
2010-03-24  8:04 ` vx 8400
2010-03-24  8:10   ` Andrey Rahmatullin
2010-03-24  8:29     ` vx 8400 [this message]
2010-03-24  9:23     ` Владимир
2010-03-25  5:53       ` Гусев В.Ю.
2010-03-25  7:17     ` REAL
2010-03-25  7:07       ` Andrey Rahmatullin
2010-03-25 13:53         ` Гусев В.Ю.
2010-03-24  8:07 ` Andrew Clark
2010-03-24  8:12 ` Алексей Шенцев
2010-03-24  8:31   ` Гусев В.Ю.
2010-03-24  8:34     ` vx 8400
2010-03-24  8:48     ` Алексей Шенцев
2010-03-24  8:59       ` [Comm] Восстановление спи ска пакетов Olexander Chernetskyy
2010-03-24  9:29       ` [Comm] Восстановление списка пакетов Andrey Rahmatullin
2010-03-24  9:40         ` Olexander Chernetskyy
2010-03-25  5:50       ` Гусев В.Ю.
2010-03-25  7:06         ` Andrey Rahmatullin
2010-03-25 10:49           ` Yura Kalinichenko
2010-03-25 10:51             ` Andrey Rahmatullin
2010-03-25 12:55               ` Yura Kalinichenko
2010-03-25 12:59                 ` Алексей Шенцев
2010-03-25 12:59                 ` Andrey Rahmatullin
2010-03-25 11:12             ` REAL
2010-03-25 11:22               ` Денис Смирнов
2010-03-25 11:26                 ` Andrey Rahmatullin
2010-03-25 11:53                   ` Алексей Шенцев
2010-03-25 11:56                     ` Andrey Rahmatullin
2010-03-25 12:17                   ` Денис Смирнов
2010-03-25 12:20               ` Andrew Borodin
2010-03-28 15:45       ` Stanislav Vlasov
2010-03-24 13:25 ` Денис Смирнов

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=89eb42f1003240129n1619f10cqac41cf2f6c977255@mail.gmail.com \
    --to=vx8400@gmail.com \
    --cc=community@lists.altlinux.org \
    /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