From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [sisyphus] /etc/rc.d/init.d/sound From: "Alexander S. Belov" To: sisyphus@altlinux.ru Cc: Michael Shigorin , "Dmitry V. Levin" In-Reply-To: <1049803538.12964.529.camel@pc_asbel.office.sice.ru> References: <1049703293.26441.104.camel@pc_asbel.office.sice.ru> <20030408102811.GF25653@basalt.office.altlinux.org> <1049803538.12964.529.camel@pc_asbel.office.sice.ru> Content-Type: text/plain; charset=KOI8-R Organization: Siberian Interbank Currency Exchange Message-Id: <1049803963.12964.534.camel@pc_asbel.office.sice.ru> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.3- (1.2.3-alt1) Date: 08 Apr 2003 19:12:43 +0700 Content-Transfer-Encoding: 8bit Sender: sisyphus-admin@altlinux.ru Errors-To: sisyphus-admin@altlinux.ru X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: sisyphus@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: > Это меняет дело, правда для этого есть команда /usr/bin/uniq, т.е.: > > for m in `modprobe -c |egrep "^alias $pattern " |cut -d\ -f3 | uniq`; > do > > И будет счастье всем :-).. (я не пробовал, но должно работать) Очепятка у меня была - sorry: for m in `modprobe -c |egrep "^alias $pattern " |cut -d\ -f3 | uniq -u`; do Т.е. надо еще ключик -u к ней приделать конечно же.