ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Владимир Диденко" <vladimir.didenko@gmail.com>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] posttrans-filetriggers: join - неотсортированные файлы.
Date: Mon, 11 Apr 2011 17:58:14 +0400
Message-ID: <BANLkTimcKXcup9jfmze7=1JYvRTRppoivA@mail.gmail.com> (raw)
In-Reply-To: <20110411133247.GF7327@conflux.foliandre>

11 апреля 2011 г. 17:32 пользователь Dmitry Chistikov
<dd1email@gmail.com> написал:
>
> Может быть, grep -l join /usr/lib/rpm/*.filetrigger что подскажет?
>

Пусто.

Если грепать по всему /usr/lib/rpm, то находится только

/usr/lib/rpm/lib.req

В нем есть два места

Первое(тут есть явная сортировка перед join)

LC_ALL=C sort -u -o "$tmpdir"/a/weak{,}
LC_ALL=C sort -u -o "$tmpdir"/a/sym2lib{,}
LC_ALL=C join -t$'\t' -v1 -o 1.1,1.2 "$tmpdir"/a/{sym2lib,weak}
>"$tmpdir"/a/sym2lib+
mv -f "$tmpdir"/a/sym2lib{+,}
cut -f2 "$tmpdir"/a/sym2lib >"$tmpdir"/a/lib2
LC_ALL=C sort -u -o "$tmpdir"/a/lib2{,}

Второе(тут видимо преполагается отсортированность):

# Deal with required symbols.
reqsym=$(printf '%s\n' "$lib" |LC_ALL=C join -t$'\t' -12 -o 1.1
"$tmpdir"/sym2lib -)
if [ -z "$reqsym" ]; then
    LC_ALL=C fgrep -qs -x -e "$dep" "$tmpdir"/versioned ||
        printf '%s\n' "$dep"
    continue
fi

-- 
С уважением,
Владимир.

  reply	other threads:[~2011-04-11 13:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-11  9:54 Владимир Диденко
2011-04-11 13:32 ` Dmitry Chistikov
2011-04-11 13:58   ` Владимир Диденко [this message]
2011-04-11 14:22     ` Dmitry V. Levin
2011-04-11 14:26 ` Dmitry V. Levin
2011-04-11 14:37   ` Владимир Диденко
2011-04-11 14:48     ` Владимир Диденко
2011-04-11 19:33     ` Dmitry V. Levin

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='BANLkTimcKXcup9jfmze7=1JYvRTRppoivA@mail.gmail.com' \
    --to=vladimir.didenko@gmail.com \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git