From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.2.5 Message-ID: <48EE31EB.20308@rambler.ru> Date: Thu, 09 Oct 2008 20:31:39 +0400 From: "Kharitonov A. Dmitry" User-Agent: Thunderbird 2.0.0.14 (X11/20080719) MIME-Version: 1.0 To: hihin@rambler.ru, ALT Linux Community general discussions References: <200810091910.19529@ruslandh> In-Reply-To: <200810091910.19529@ruslandh> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Comm] =?windows-1251?b?8erw6O/yIOTr/yB0di1vdXQ=?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 16:31:30 -0000 Archived-At: List-Archive: List-Post: Хихин Руслан пишет: > Здравствуйте Ivan Petrov > В сообщении от 9 октября 2008 Ivan Petrov написал(a): > > #!/bin/sh > > > > export DISPLAY=:0.1 > > mplayer $1 -ao alsa:device=hw=1.0 > > Можно так : > mplayer "$*" -ao alsa:device=hw=1.0 > > Интереснее : > > #!/bin/sh > > export DISPLAY=:0.1 > > for i in *.avi > do > mplayer "$i" -ao alsa:device=hw=1.0 > done > > Ну, если уж совсем хочется избежать неприятностей с двоеточием, русскими буквами и прочей нечистью #!/bin/sh export DISPLAY=:0.1 ls -1b *.avi | while read i; do do mplayer "$i" -ao alsa:device=hw=1.0 done