From: Slava Garelin <garelin@ukr.net>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] /etc/rc.d/init.d/sound
Date: Tue, 8 Apr 2003 15:22:19 +0300
Message-ID: <20030408152219.20fde797.garelin@ukr.net> (raw)
In-Reply-To: <1049803538.12964.529.camel@pc_asbel.office.sice.ru>
On 08 Apr 2003 19:05:38 +0700
"Alexander S. Belov" <asbel@sicex.ru> wrote:
> > > Если не сложно, в файле /etc/rc.d/init.d/sound исправьте строчку
> > >
> > > for m in `modprobe -c |egrep "^alias $pattern " |cut -d\ -f3
> > > |sort -u`;
> > > do
> > >
> > > на
> > >
> > > for m in `modprobe -c |egrep "^alias $pattern " |cut -d\ -f3`; do
> > >
> > > т.е. уберите плз. сортировку. Зачем она там нужна?
> >
> > Сортировка казалась нужной для избежания излишних вызовов modprobe.
> >
>
> Это меняет дело, правда для этого есть команда /usr/bin/uniq, т.е.:
>
> for m in `modprobe -c |egrep "^alias $pattern " |cut -d\ -f3 | uniq`;
> do
>
А uniq сливает не только соседние идентичные разве? Для того и sort,
думаю...
--
Slava Garelin
next prev parent reply other threads:[~2003-04-08 12:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-07 8:14 Alexander S. Belov
2003-04-08 6:07 ` Алексей Мамонов
2003-04-08 10:28 ` Dmitry V. Levin
2003-04-08 10:47 ` [sisyphus] /etc/rc.d/init.d/sound Michael Shigorin
2003-04-08 12:05 ` [sisyphus] /etc/rc.d/init.d/sound Alexander S. Belov
2003-04-08 12:10 ` Dmitry V. Levin
2003-04-08 12:23 ` Alexander S. Belov
2003-04-08 12:26 ` Dmitry V. Levin
2003-04-08 12:33 ` Alexander S. Belov
2003-04-08 12:12 ` Alexander S. Belov
2003-04-08 12:22 ` Slava Garelin [this message]
2003-04-08 12:38 ` [sisyphus] /etc/rc.d/init.d/sound Anton V. Boyarshinov
2003-04-08 12:44 ` Slava Garelin
2003-04-09 3:36 ` Alexander S. Belov
2003-04-08 21:42 ` [sisyphus] /etc/rc.d/init.d/sound Arcady V. Ivanov
2003-04-09 9:19 ` [sisyphus] Re: [JT] /etc/rc.d/init.d/sound Vitaly Ostanin
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=20030408152219.20fde797.garelin@ukr.net \
--to=garelin@ukr.net \
--cc=sisyphus@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 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